Difference between revisions of "MPI"
From hpcwiki
| Line 1: | Line 1: | ||
Installing openmpi: | Installing openmpi: | ||
| − | yum install openmpi | + | yum install openmpi |
| − | yum install openmpi | + | yum install openmpi-devel |
| + | |||
| + | This installs openmpi in /usr/lib64/ For the libraries and binaries to be accessible to the users | ||
| + | just add the following lines to .basrh file: | ||
| + | export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH | ||
| + | export PATH=/usr/lib64/openmpi/bin/:$PATH | ||
Revision as of 05:38, 13 June 2017
Installing openmpi:
yum install openmpi yum install openmpi-devel
This installs openmpi in /usr/lib64/ For the libraries and binaries to be accessible to the users just add the following lines to .basrh file:
export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH export PATH=/usr/lib64/openmpi/bin/:$PATH