24小时热门版块排行榜    

查看: 1619  |  回复: 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的回帖

yyyu200

金虫 (小有名气)

【答案】应助回帖

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

发自小木虫Android客户端
5楼2015-09-05 23:44:57
已阅   关注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
感觉目录有中文会有问题

这里应该没有问题,因为以前没装openmpi的时候目录也是中文,但是可以make.提示的错误(如上)是fft有问题,感觉是openmpi的问题.
3楼2015-09-05 20:20:59
已阅   关注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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 340求调剂 +5 话梅糖111 2026-03-24 5/250 2026-03-25 06:53 by ilovexiaobin
[考研] 300分,材料,求调剂,英一数二 +5 超赞的 2026-03-24 5/250 2026-03-24 21:07 by 星空星月
[考研] 材料学硕333求调剂 +3 北道巷 2026-03-24 3/150 2026-03-24 19:17 by pswait
[考研] 085602 289分求调剂 +5 WWW西西弗斯 2026-03-24 5/250 2026-03-24 18:51 by jhhcooi
[考研] 资源与环境 调剂申请(333分) +7 holy J 2026-03-21 7/350 2026-03-24 17:24 by xiaohai104
[考研] 求调剂 +5 林之夕 2026-03-24 5/250 2026-03-24 17:16 by dick_runner
[考研] 305分求调剂(食品工程) +5 Sxy112 2026-03-21 7/350 2026-03-24 12:27 by 544594351
[考研] 081700 调剂 267分 +9 迷人的哈哈 2026-03-23 9/450 2026-03-24 11:58 by 544594351
[考研] 327求调剂 +5 prayer13 2026-03-23 5/250 2026-03-23 22:11 by 星空星月
[考研] 317求调剂 +12 申子申申 2026-03-19 18/900 2026-03-22 22:23 by luoyongfeng
[考研] 293求调剂 +3 涛涛Wjt 2026-03-22 5/250 2026-03-22 22:21 by jiangpengfei
[考研] 一志愿华中农业071010,总分320求调剂 +5 困困困困坤坤 2026-03-20 6/300 2026-03-22 17:41 by hxsm
[考研] 311求调剂 +3 26研0 2026-03-20 3/150 2026-03-22 14:46 by ColorlessPI
[考研] 材料与化工(0856)304求B区调剂 +3 邱gl 2026-03-20 7/350 2026-03-21 19:05 by 15709483992
[考研] 求助 +5 梦里的无言 2026-03-21 6/300 2026-03-21 17:51 by 学员8dgXkO
[考研] 材料 271求调剂 +5 展信悦_ 2026-03-21 5/250 2026-03-21 17:29 by 学员8dgXkO
[考研] 一志愿武理材料305分求调剂 +6 想上岸的鲤鱼 2026-03-18 7/350 2026-03-21 01:03 by JourneyLucky
[考研] 321求调剂 +9 何润采123 2026-03-18 11/550 2026-03-20 23:19 by JourneyLucky
[考研] 295复试调剂 +8 简木ChuFront 2026-03-19 8/400 2026-03-20 20:44 by zhukairuo
[考研] 0856调剂,是学校就去 +8 sllhht 2026-03-19 9/450 2026-03-20 14:25 by 无懈可击111
信息提示
请填处理意见