24小时热门版块排行榜    

查看: 2469  |  回复: 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.
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

未岸亡灵

铁杆木虫 (著名写手)

暂时离开小木虫


【答案】应助回帖

★ ★ ★ ★
感谢参与,应助指数 +1
蛋蛋小童鞋: 金币+2, 谢谢参与,小木虫鼓励积极回答问题者 2016-09-22 20:44:15
Sparks__Fly: 金币+2, ★★★很有帮助, 谢谢 2016-09-23 10:23:50
准确,是你的intel编译器ifort没有配置好
4楼2016-09-22 20:40:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 7 个回答

llh2010

至尊木虫 (著名写手)

【答案】应助回帖

★ ★ ★ ★
感谢参与,应助指数 +1
蛋蛋小童鞋: 金币+2, 谢谢参与,小木虫鼓励积极回答问题者 2016-09-22 20:44:04
Sparks__Fly: 金币+2, ★★★很有帮助, 谢谢 2016-09-23 10:23:24
全部都用Intel的编译器就行了。
sudo ./configure --prefix=/usr/local/openmpi  CC=icc F77=ifort FC=ifort CXX=icpc
知识引导人生,学习成就未来
2楼2016-09-22 20:24:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

llh2010

至尊木虫 (著名写手)

我估计有可能是你的Intel的编译器没有安装好,或是bashrc没写好,所以找不到ifort命令。
知识引导人生,学习成就未来
3楼2016-09-22 20:26:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

园中园

新虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
你先测试一下ifort ,正常运行后, sudo ./configure --prefix=/usr/local/openmpi  CC=icc F77=ifort FC=ifort CXX=icpc
追求,奋斗,再追求,再奋斗
5楼2016-09-23 11:07:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见