| 查看: 2468 | 回复: 6 | ||
Sparks__Fly新虫 (小有名气)
|
[求助]
VASP安装中openmpi安装失败的问题 已有3人参与
|
|
sudo ./configure --prefix=/usr/local/openmpi CC=gcc CXX=c++ F77=ifort FC=ifort。运行时失败,提示说找不到F77。但是如果单独安装(仅有sudo ./configure)则能够成功,但是无法把F77等与ifort联系起来。具体错误程序如下,求教啊 *** Fortran 77 compiler checking whether we are using the GNU Fortran 77 compiler... no checking whether ifort accepts -g... no *** Fortran 90/95 compiler checking whether we are using the GNU Fortran compiler... no checking whether ifort accepts -g... no checking if Fortran 77 compiler works... no ********************************************************************** * It appears that your Fortran 77 compiler is unable to produce working * executables. A simple test application failed to properly * execute. Note that this is likely not a problem with Open MPI, * but a problem with the local compiler installation. More * information (including exactly what command was given to the * compiler and what error resulted when the command was executed) is * available in the config.log file in this directory. ********************************************************************** configure: error: Could not run a simple Fortran 77 program. Aborting. |
» 猜你喜欢
不自信的我
已经有11人回复
北核录用
已经有3人回复
要不要辞职读博?
已经有6人回复
实验室接单子
已经有3人回复
磺酰氟产物,毕不了业了!
已经有8人回复
求助:我三月中下旬出站,青基依托单位怎么办?
已经有10人回复
26申博(荧光探针方向,有机合成)
已经有4人回复
论文终于录用啦!满足毕业条件了
已经有26人回复
2026年机械制造与材料应用国际会议 (ICMMMA 2026)
已经有4人回复
Cas 72-43-5需要30g,定制合成,能接单的留言
已经有8人回复
llh2010
至尊木虫 (著名写手)
- 应助: 34 (小学生)
- 金币: 10007.8
- 散金: 14
- 红花: 11
- 帖子: 1614
- 在线: 350.1小时
- 虫号: 1471268
- 注册: 2011-11-01
- 性别: GG
- 专业: 原子和分子物理

2楼2016-09-22 20:24:17
llh2010
至尊木虫 (著名写手)
- 应助: 34 (小学生)
- 金币: 10007.8
- 散金: 14
- 红花: 11
- 帖子: 1614
- 在线: 350.1小时
- 虫号: 1471268
- 注册: 2011-11-01
- 性别: GG
- 专业: 原子和分子物理

3楼2016-09-22 20:26:17
未岸亡灵
铁杆木虫 (著名写手)
暂时离开小木虫
- 1ST强帖: 2
- 应助: 622 (博士)
- 金币: 6517.3
- 散金: 1221
- 红花: 111
- 帖子: 1345
- 在线: 517.7小时
- 虫号: 1730773
- 注册: 2012-04-01
- 性别: GG
- 专业: 理论和计算化学
4楼2016-09-22 20:40:55

5楼2016-09-23 11:07:43
|
这个问题我也遇到了,已解决。原因是不使用sudo命令配置时会说权限不足,使用sudo命令用root用户去配置root用户没source过环境变量,导致sudo下没有ifort命令。解决方法:使su,输入密码,切换到root用户,输入source /home/YOU/.bashrc 配置环境变量,再./configure配置 发自小木虫IOS客户端 |

6楼2017-02-28 16:55:50
|
请问应该怎么配置呢?我用icc单独编译可以,命令which icc也正常,但就是使用sudo ./configure CC=icc F77=ifort FC=ifort CXX=icpc的时候,说"C compiler cannot create executables",在config.log里面有“./configure: line 5377: icc: command not found”,找不到icc。最后我使用完整路径才可以configure,命令是“sudo ./configure CC=/opt/intel/composer_xe_2011_sp1.6.233/bin/intel64/icc F77=/opt/intel/composer_xe_2011_sp1.6.233/bin/intel64/ifort FC=/opt/intel/composer_xe_2011_sp1.6.233/bin/intel64/ifort CXX=/opt/intel/composer_xe_2011_sp1.6.233/bin/intel64/icpc” |
7楼2017-11-04 14:15:49












回复此楼