Personal tools

Difference between revisions of "MPI"

From hpcwiki

Jump to: navigation, search
 
Line 1: Line 1:
Installing openmpi:
+
In order to install openmpi the following commands were issued at each node:
 
  yum install openmpi
 
  yum install openmpi
 
  yum install openmpi-devel
 
  yum install openmpi-devel
  
 
This installs openmpi in /usr/lib64/ For the libraries and binaries to be accessible to the users
 
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:
+
just add the following lines to the user .basrh file, which is located at /home/user name/:
 
  export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH
 
  export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH
 
  export PATH=/usr/lib64/openmpi/bin/:$PATH
 
  export PATH=/usr/lib64/openmpi/bin/:$PATH

Latest revision as of 05:41, 13 June 2017

In order to install openmpi the following commands were issued at each node:

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 the user .basrh file, which is located at /home/user name/:

export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH
export PATH=/usr/lib64/openmpi/bin/:$PATH