Jump to content

Cara Build OpenMPI: Difference between revisions

From Haidhi Wiki
Created page with "<syntaxhighlight lang=bash> wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.bz2 tar xf openmpi-4.1.5.tar.bz2 && cd openmpi-4.1.6 ./configure --prefix=$HOME/ompi make -j$(nproc) && make install export PATH=$HOME/ompi/bin:$PATH export LD_LIBRARY_PATH=$HOME/ompi/lib:$LD_LIBRARY_PATH mpirun --version </syntaxhighlight>"
 
No edit summary
Line 1: Line 1:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.bz2
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.bz2
tar xf openmpi-4.1.5.tar.bz2 && cd openmpi-4.1.6
tar xf openmpi-4.1.5.tar.bz2 && cd openmpi-4.1.5
./configure --prefix=$HOME/ompi
./configure --prefix=$HOME/ompi
make -j$(nproc) && make install
make -j$(nproc) && make install

Revision as of 02:36, 16 June 2026

wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.bz2
tar xf openmpi-4.1.5.tar.bz2 && cd openmpi-4.1.5
./configure --prefix=$HOME/ompi
make -j$(nproc) && make install
export PATH=$HOME/ompi/bin:$PATH
export LD_LIBRARY_PATH=$HOME/ompi/lib:$LD_LIBRARY_PATH
mpirun --version