24小时热门版块排行榜    

查看: 862  |  回复: 1

sunmuer

木虫 (小有名气)

[求助] 编译TBtrans 出错

我用的是mpiifort编译,mpi是impi
参考的arch.make 是http://muchong.com/html/201205/4568674.html里提到的。
首先运行的是sh ../Src/obj***.sh
        然后  ../Src/configure MPIFC=mpif90 --enable-mpi
                 make
成功!copy出siesta 至../bin目录
make clean
make transiesta
成功
copy transiesta 至 ../bin目录
cd  ../Util/TBtrans
make
出错

mpiifort -c -I/opt/intel/mkl/include -I/opt/intel/mkl/include/intel64/lp64 -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DMPI -DGRID_DP -DPHI_GRID_SP  m_tbt_options.F90
mpiifort -c -I/opt/intel/mkl/include -I/opt/intel/mkl/include/intel64/lp64 -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DMPI -DGRID_DP -DPHI_GRID_SP  m_tbt_kpts.F90
m_tbt_kpts.F90(18): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPI_SIESTA]
use mpi_siesta
----^
m_tbt_kpts.F90(143): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPI_SIESTA]
use mpi_siesta
----^
m_tbt_kpts.F90(192): error #6404: This name does not have a type, and must have an explicit type.   [MPI_COMM_WORLD]
         call MPI_Barrier(MPI_Comm_World,MPIerror)
--------------------------^
compilation aborted for m_tbt_kpts.F90 (code 1)
make: *** [m_tbt_kpts.o] Error 1

我看了 m_tbt_kpts.F90,其中18行说的是use mpi_siesta

高手请帮忙!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

出清水而不染
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

sunmuer

木虫 (小有名气)

★ ★ ★
cenwanglai: 金币+3, 谢谢分享~ 2013-12-18 00:08:00
自己修改好了,我前面编译的时候有几处错误,修改后完成。
1.我的Impi是4.1.0,在arch.make中修正
2. ../configure MPIFC=mpiifort --enable-mpi
3. 重新编译了siesta, transieta后,在编译tbtrans,成功。
出清水而不染
2楼2013-12-17 11:08:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 sunmuer 的主题更新
信息提示
请填处理意见