| 查看: 2511 | 回复: 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. |
» 猜你喜欢
今年春晚有几个节目很不错,点赞!
已经有9人回复
情人节自我反思:在爱情中有过遗憾吗?
已经有10人回复
基金正文30页指的是报告正文还是整个申请书
已经有5人回复
过年走亲戚时感受到了所开私家车的鄙视链
已经有5人回复
|
这个问题我也遇到了,已解决。原因是不使用sudo命令配置时会说权限不足,使用sudo命令用root用户去配置root用户没source过环境变量,导致sudo下没有ifort命令。解决方法:使su,输入密码,切换到root用户,输入source /home/YOU/.bashrc 配置环境变量,再./configure配置 发自小木虫IOS客户端 |

6楼2017-02-28 16:55:50
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 (博士)
- 金币: 6519.3
- 散金: 1221
- 红花: 111
- 帖子: 1345
- 在线: 517.7小时
- 虫号: 1730773
- 注册: 2012-04-01
- 性别: GG
- 专业: 理论和计算化学
4楼2016-09-22 20:40:55













回复此楼