How to install OpenMPI on Linux?

to and download the latest . package 2. Create a directory to install OpenMPI and go into it $ mkdir $HOME/openmpi $ cd $HOME/openmpi 3. Copy the . file into this directory: $ cp $HOME/Downloads/ $HOME/openmpi 4. Extract the package and go into the extracted directory: $ tar -xzvf $ cd 5. Configure and compile (this step may take about 5-10 minutes): $ ./configure --prefix=$HOME/openmpi $ make all 6. Finally install using the following command: $ make install Add OpenMPI to your PATH and LD_LIBRARY_PATH environment variable. More detailed description of all these steps together with more options which can be used to install openmpi can be found at: Follow us on Twitter:
Back to Top