安装MPI configure 配置

   I was always confused with the parameters used in ./configure command. I did not know how to find the exact meaning of these parameters. Yesterday, I finally found the secrete: --help.
    After typing ./configure --help in the root directory of abinit and espresso, I got a list of parameters with a brief explanation.

Abinit installation
./abinit下的文件不要解压
./configure --enable-mpi --enable-mpi-io --with-mpi-prefix=/usr/mpi/intel/openmpi-1.4.3-qlc  --with-dft-flavor="libxc"   >log 2>&1 &
make
  --enable-mpi            Enable MPI support (default: None)
  --enable-mpi-io         Enable MPI I/O (default: None)
  --with-dft-flavor       Kind of DFT support to activate (default:
                          atompaw+bigdft+libxc+wannier90)

运行时显示error while loading shared libraries: libmpi_f90.so.0怎么办?
表明程序运行时找不到所需要的链接库libmpi_f90.so.0,请查看自己的环境变量设置:env | grep LD,正常的输出应该类似:
LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/064/lib/intel64:/opt/intel/Compiler/11.1/064/mkl/lib/em64t:/opt/intel/Compiler/11.1/064/lib/intel64:/opt/intel/Compiler/11.1/064/mkl/lib/em64t:/opt/lsf/6.0/linux2.6-glibc2.3-amd64/lib:/usr/mpi/intel/openmpi-1.4.1/lib64
libmpi_f90.so.0所在的目录为/usr/mpi/intel/openmpi-1.4.1/lib64

espresso installation
 ./install/configure MPIF90=/usr/mpi/intel/openmpi-1.4.3-qlc/bin/mpif90 >log 2>&1 &
make all

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值