当前位置: 首页 > 第一原理 >shengBTE安装使用问题,求指教

shengBTE安装使用问题,求指教

作者 小莫2016
来源: 小木虫 400 8 举报帖子
+关注

arch.make如下
export FFLAGS= -debug -O2 #-static_intel -traceback
export LDFLAGS=/home/sunxiaomo/下载/ShengBTE/spglib-1.10.1/lib/libsymspg.a
export MPIFC=/home/sunxiaomo/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin/mpif90
MKLROOT=/home/sunxiaomo/intel/mkl/lib/intel64
MKL=$(MKLROOT)/libmkl_lapack95_lp64.a -Wl,--start-group \
$(MKLROOT)/libmkl_intel_lp64.a \
$(MKLROOT)/libmkl_sequential.a \
$(MKLROOT)/libmkl_core.a -Wl,--end-group -lpthread -lm
export LAPACK=$(MKL)
export LIBS=$(LAPACK)

其中-static_intel -traceback被注释掉,不注释掉会报错
mpif90 -traceback -debug -O2 -static_intel -c -o misc.o misc.f90
gfortran: error: unrecognized command line option ‘-traceback’
gfortran: error: unrecognized command line option ‘-static_intel’; did you mean ‘-masm=intel’?
Makefile:20: recipe for target 'misc.mod' failed
make: *** [misc.mod] Error 1

注释掉后编译未报错,但会出现
f951: Warning: unrecognized gcc debugging option: e
f951: Warning: unrecognized gcc debugging option: b
ShengBTE计算会出现以下错误
Traceback (most recent call last):
  File "thirdorder_espresso.py", line 25, in <module>
    import thirdorder_core
  File "thirdorder_core.pyx", line 35, in init thirdorder_core (thirdorder_core.c:30695)
ImportError: No module named scipy
求教这是为什么?安装错误还是缺少环境? 返回小木虫查看更多

今日热帖
  • 精华评论
  • 小莫2016

    请大神赐教

  • 小虫虫LG

    third那个是另外一个软件。你安装了吗

  • 小莫2016

    引用回帖:
    3楼: Originally posted by 小虫虫LG at 2017-11-29 14:44:49
    third那个是另外一个软件。你安装了吗

    已安装

  • 小虫虫LG

    引用回帖:
    4楼: Originally posted by 小莫2016 at 2017-11-30 09:36:10
    已安装...

    请问你输入什么命令出这个错误?

  • lyylyy1

    安卓了scipy吗

  • MS_DIN

    请问楼主解决了吗?

  • 三岁薇恩

    引用回帖:
    7楼: Originally posted by MS_DIN at 2019-11-04 22:33:34
    请问楼主解决了吗?

    你好 请问你安装成功ShengBTE了吗 可以交流一下不

猜你喜欢
下载小木虫APP
与700万科研达人随时交流
  • 二维码
  • IOS
  • 安卓