标签:bin ase -- pen https pre class number article
1.OpenMPI环境搭建
(1)下载和解压 (选择了稳定的老版本)
wget https://download.open-mpi.org/release/open-mpi/v1.8/openmpi-1.8.8.tar.gz
tar -xzvf openmpi-1.8.8.tar.gz
(2)配置,编译和安装
./configure --prefix=/usr/local/openmpi (配置安装路径)
make
make install
(3)配置环境变量(~/.bashrc)
export PATH=$PATH:/usr/local/openmpi/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openmpi/lib/ source ~/.bashrc sudo ldconfig
source ~/.bashrc
sudo ldconfig (动态链接库)
(4)进行测试
cd openmpi-1.8.8/examples
参考博客:
1.https://blog.csdn.net/ssw_1990/article/details/52220506
标签:bin ase -- pen https pre class number article
原文地址:https://www.cnblogs.com/ylsj/p/10025944.html