1.- Descargar software de Open-MPI.org
# wget https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz
2.- Instalar en todos los nodos:
# gunzip -c openmpi-1.10.2.tar.gz | tar xf -
# cd openmpi-1.10.2
# ./configure --prefix=/usr/local
# make all install
3.- Agregar variables de entorno:
# vi /etc/profile
Agregar:
export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
# source /etc/profile
#ldconfig
4.- Testing:
# mpirun --hostfile host_file mpi_hello_world
Referencias:
No hay comentarios:
Publicar un comentario