| 查看: 2951 | 回复: 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. |
» 猜你喜欢
各位大神,目前国内有哪些比较好用的逆合成软件?
已经有14人回复
国社科系统bug了,是不是要放榜了?
已经有10人回复
现代”学阀”该如何界定
已经有9人回复
课题组招2027级博士 上海工程技术大学 激光智能制造方向
已经有4人回复
上海工程技术大学 激光智能制造课题组 2027级博士研究生招生
已经有3人回复
上海工程技术大学激光智能制造课题组|2027级博士研究生招生公告
已经有11人回复
上海工程技术大学激光智能制造课题组-博士研究生
已经有10人回复
申博发邮件
已经有11人回复
我的奶奶
已经有3人回复
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 (博士)
- 金币: 6523.3
- 散金: 1221
- 红花: 111
- 帖子: 1345
- 在线: 517.8小时
- 虫号: 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










回复此楼