24小时热门版块排行榜    

查看: 1490  |  回复: 11
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

MilchR

捐助贵宾 (小有名气)

[求助] QE5.2.0make出错 已有1人参与

[新入行,欢迎各路大神指点]
我在使用
- Linux Mint 17.1
- Intel Fortran and C/C++ compilers
- OpenMPI 1.6.5, icc compiled
对QE5.2.0编译时发生了错误(安装openmpi之前是可以正常串行编译的,安装之后无论并行,串行都编译不了,可以成功configure),最后几行是这样的:

fft_custom.f90(501): error #6404: This name does not have a type, and must have an explicit type.   [MPI_MAX]
    CALL MPI_ALLREDUCE( ngwl1, ngwl1_max, 1, MPI_INTEGER, MPI_MAX, gid, IERR )
----------------------------------------------------------^
fft_custom.f90(542): error #6404: This name does not have a type, and must have an explicit type.   [MPI_DOUBLE_COMPLEX]
          CALL MPI_GATHER( pw1_tmp, npw1_max, MPI_DOUBLE_COMPLEX,&
----------------------------------------------^
compilation aborted for fft_custom.f90 (code 1)
make[1]: *** [fft_custom.o] 错误 1
make[1]:正在离开目录 `/home/xxx/公共的/QE/Modules'
make: *** [mods] 错误 1

我的.bashrc文件如下:
source /opt/intel/composer_xe_2015.0.090/bin/compilervars.sh intel64
source /opt/intel/composer_xe_2015.0.090/bin/ifortvars.sh ia32
source /opt/intel/composer_xe_2015.0.090/bin/ifortvars.sh intel64
source /opt/intel/composer_xe_2015.0.090/bin/iccvars.sh ia32
source /opt/intel/composer_xe_2015.0.090/bin/iccvars.sh intel64
source /opt/intel/composer_xe_2015.0.090/bin/compilervars.sh ia32
source /opt/intel/composer_xe_2015.0.090/bin/compilervars.sh intel64
source /opt/intel/impi/5.1.0.079/bin64/mpivars.sh
source /opt/intel/composer_xe_2015.0.090/mkl/bin/intel64/mklvars_intel64.sh

export PATH=$PATH:/home/ricardo/公共的/QE/bin
export PATH=$PATH:/opt/intel/impi/5.1.0.079/intel64/bin
export MPI_HOME=/opt/openmpi-1.6.5
export PATH=$MPI_HOME/bin:$PATH
export LD_LIBRARY_PATH=$MPI_HOME/lib:$LD_LIBRARY_PATH

前几天看到一个类似的帖子是关于编译VASP的,不过没有看懂回复...请各位大神帮忙看看应该如何解决(make.sys已上传)
回复此楼
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

MilchR

捐助贵宾 (小有名气)

引用回帖:
2楼: Originally posted by yyyu200 at 2015-09-05 17:58:15
感觉目录有中文会有问题

这里应该没有问题,因为以前没装openmpi的时候目录也是中文,但是可以make.提示的错误(如上)是fft有问题,感觉是openmpi的问题.
3楼2015-09-05 20:20:59
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 12 个回答

yyyu200

金虫 (小有名气)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
liliangfang: 金币+1, 谢谢交流 2015-09-05 18:24:21
MilchR: 金币+1, 有帮助, 第一个回答,虽然感觉没说对,但是还是很感谢啊! 2015-09-05 20:22:21
感觉目录有中文会有问题

发自小木虫Android客户端
2楼2015-09-05 17:58:15
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

MilchR

捐助贵宾 (小有名气)

引用回帖:
2楼: Originally posted by yyyu200 at 2015-09-05 17:58:15
感觉目录有中文会有问题

目录改为英文,仍然有同样的错误
4楼2015-09-05 20:28:30
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

yyyu200

金虫 (小有名气)

【答案】应助回帖

错误的最初几行能看出什么吗?

发自小木虫Android客户端
5楼2015-09-05 23:44:57
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见