Closed dragen1860 closed 5 years ago
openmpi-3.1.2.tar.gz
mkdir ~/openmpi
and move openmpi-3.1.2.tar.gz
file to that foldertar -zxvf openmpi-3.1.2.tar.gz
to unzip filecd openmpi-3.1.2/
./configure --prefix=$HOME/openmpi
to configure and compilemake -j8 all
to make (may taks 5~10min)make install
to installvim ~/.bashrc
to set the pathexport PATH=$HOME/openmpi/bin:$PATH
export LD_LIBRARY_PATH=$HOME/openmpi/lib:$LD_LIBRARY_PATH
source ~/.bashrc
mpiexec --version
and mpirun --version
to check the installationdone.
Hi, thanks for your great job. However, i found it's complex to install openmpi, could you give some simple instructions?