24小时热门版块排行榜    

查看: 1039  |  回复: 3
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

daofengwalan

金虫 (小有名气)

[求助] 虫子们请教一个abinit并行安装的问题 已有2人参与

虫子们请教一个abinit安装的问题。

我在./configure的时候,提示找不到mpi:
  * OpenMP enabled  : no (collapse: ignored)
  * MPI    enabled  : no
  * MPI-IO enabled  : no
  * GPU    enabled  : no (flavor: none)

我是用命令 sudo apt-get 安装的mpich2,并且已经编译了Quantum espresso

使用which mpirun命令查看,得到
/usr/local/bin/mpirun
这种情况,在./configure的时候应该怎么设置?
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

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

souledge

专家顾问 (著名写手)

【答案】应助回帖

MPI的安装有两种,一种是直接yum install或者apt-get的,另一种是下载源代码自己编译的。
对于前一种安装,是无法进行编译的(没有提供mpif90与fortran编译器间的连接)。
所以,如果LZ的MPI是前一种,则建议卸载后下载源代码自行编译。
如果本身是后一种,那就确定这份MPI是否有可用的并行编译器,比如运行一下which mpif90,或者mpif90 --version看有没有什么反馈~
思想重于技巧,内涵重于表象
4楼2014-05-22 10:49:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

wenjlu

木虫 (正式写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
fzx2008: 金币+2, 谢谢指导 2014-05-16 10:01:42
configure 时候加上  --enable-mpi
2楼2014-05-16 09:57:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

daofengwalan

金虫 (小有名气)

引用回帖:
2楼: Originally posted by wenjlu at 2014-05-16 09:57:04
configure 时候加上  --enable-mpi

加上这个命令之后也是:
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
但是我用which mpirun查看,显示
/usr/local/bin/mpirun

所以我如果重新安装MPI 会不会影响我已经编译好的其他软件
3楼2014-05-16 14:23:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见