24小时热门版块排行榜    

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

匿名

用户注销 (正式写手)

本帖仅楼主可见
9楼2015-09-06 13:17:34
已阅   申请1ST强帖   编辑   查看我的主页
查看全部 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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 08工学调剂 +12 用户573181 2026-03-20 17/850 2026-03-24 21:45 by 番茄炖了西红柿
[考研] 资源与环境 调剂申请(333分) +7 holy J 2026-03-21 7/350 2026-03-24 17:24 by xiaohai104
[考研] 求调剂 +6 研研,接电话 2026-03-24 7/350 2026-03-24 17:01 by barlinike
[考博] 申博26年 +4 八6八68 2026-03-19 4/200 2026-03-24 15:49 by 小Ben呵呵
[考研] 307求调剂 +5 超级伊昂大王 2026-03-24 5/250 2026-03-24 15:46 by 星空星月
[考研] 求调剂一志愿武汉理工大学材料工程(085601) +5 WW.' 2026-03-23 7/350 2026-03-24 14:50 by sprinining
[考研] 277分求调剂,跨调材料 +3 考研调剂lxh 2026-03-24 3/150 2026-03-24 13:52 by JourneyLucky
[考研] 305分求调剂(食品工程) +5 Sxy112 2026-03-21 7/350 2026-03-24 12:27 by 544594351
[考研] 求调剂 +7 十三加油 2026-03-21 7/350 2026-03-23 23:48 by 热情沙漠
[考研] 接收2026硕士调剂(学硕+专硕) +4 allen-yin 2026-03-23 6/300 2026-03-23 15:04 by 汪!?!
[考研] 328求调剂 +4 LHHL66 2026-03-23 4/200 2026-03-23 14:55 by lbsjt
[考研] 276求调剂 +3 YNRYG 2026-03-21 4/200 2026-03-23 08:31 by 醉在风里
[考研] 石河子大学(211、双一流)硕博研究生长期招生公告 +3 李子目 2026-03-22 3/150 2026-03-22 21:01 by 怎么释怀
[考研] 324求调剂 +6 lucky呀呀呀鸭 2026-03-20 6/300 2026-03-22 16:01 by ColorlessPI
[考研] 求调剂院校信息 +6 CX 330 2026-03-21 6/300 2026-03-22 15:25 by 无懈可击111
[考研] 311求调剂 +3 勇敢的小吴 2026-03-20 3/150 2026-03-21 17:40 by ColorlessPI
[考研] 南昌大学材料专硕311分求调剂 +6 77chaselx 2026-03-20 6/300 2026-03-21 07:24 by JourneyLucky
[考研] 一志愿武汉理工材料工程专硕调剂 +9 Doleres 2026-03-19 9/450 2026-03-20 22:36 by JourneyLucky
[考研] 材料与化工 322求调剂 +4 然11 2026-03-19 4/200 2026-03-20 22:12 by luoyongfeng
[考研] 085600材料与化工调剂 324分 +10 llllkkkhh 2026-03-18 12/600 2026-03-19 14:33 by llllkkkhh
信息提示
请填处理意见