| 查看: 4502 | 回复: 5 | |||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | |||
[求助]
个人电脑安装openmpi,运行并行程序出现错误
|
|||
|
通过yum命令安装openmpi: yum install openmpi openmpi-devel 然后配制环境变量 export PATH=$PATH:/usr/lib64/openmpi/bin export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib 运行abinit: mpirun -np 2 abinit<t1x.files>log & 单核运行没有问题,双核就报错了,请问是什么原因???谢谢! log文件: ------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted. ------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[56854,1],1] Exit code: 2 -------------------------------------------------------------------------- |
» 本帖已获得的红花(最新10朵)
» 猜你喜欢
2027申博 寻博导--物理
已经有9人回复
27功能高分子申博
已经有4人回复
双非硕士,高分子材料方向,诚寻博士导师
已经有6人回复
中药单体能投哪些期刊
已经有4人回复
» 本主题相关价值贴推荐,对您同样有帮助:
《excel2010应用大全》【转载】
已经有10人回复
QCode2(电脑与手机二维码快传文件)、VarieDrop、Desktop List View
已经有3人回复
【分享】U盘启动装系统的操作方法(U盘PE启动安装GHOST XP)【已搜索无重复】
已经有46人回复
6楼2017-01-13 16:31:42
souledge
专家顾问 (著名写手)
-

专家经验: +174 - 1ST强帖: 19
- 应助: 303 (大学生)
- 金币: 11306.4
- 散金: 1123
- 红花: 108
- 帖子: 2814
- 在线: 916.1小时
- 虫号: 941486
- 注册: 2010-01-12
- 专业: 结构陶瓷
- 管辖: 第一性原理

2楼2016-12-12 00:10:31
送红花一朵 |
我开始不是用并行版的abinit,后改用以下命令编译: ./configure --prefix=/home/abinit FC=mpif90 --enable-mpi=yes, 编译过程报错: checking whether to enable OpenMP support... no checking whether to build MPI code... yes checking whether the C compiler supports MPI... no checking whether the C++ compiler supports MPI... no checking whether the Fortran Compiler supports MPI... no checking whether MPI is usable... no configure: error: MPI support is broken - please fix your config parameters and/or MPI installation 请问可以用yum命令安装openmpi,并编译并行版的abinit吗? http://muchong.com/html/201405/7409996.html |
3楼2016-12-12 22:45:43
送红花一朵 |
我开始不是用并行版的abinit,后改用以下命令编译: ./configure --prefix=/home/abinit FC=mpif90 --enable-mpi=yes, 编译过程报错: checking whether to enable OpenMP support... no checking whether to build MPI code... yes checking whether the C compiler supports MPI... no checking whether the C++ compiler supports MPI... no checking whether the Fortran Compiler supports MPI... no checking whether MPI is usable... no configure: error: MPI support is broken - please fix your config parameters and/or MPI installation 请问可以用yum命令安装openmpi,并编译并行版的abinit吗? http://muchong.com/html/201405/7409996.html |
4楼2016-12-12 22:46:16









回复此楼