-
Notifications
You must be signed in to change notification settings - Fork 630
Installing Open MPI on a Linux Cluster
To install Open MPI on Ubuntu Linux use the following command (other systems use yum or rpm)
sudo apt-get install openmpi-bin
Test the MPI version of FDS by typing
fds
at the command prompt and you should see the version number of FDS print with no errors.
It has been reported that the openmpi installer for Ubuntu 13.10 results in errors like the following when running fds_mpi
/opt/FDS/FDS6/bin/fds_mpi: error while loading shared libraries: libmpi_f77.so.1: cannot open shared object file: No such file or directory
These errors are occurring because the installer did not provide the files libmpi_f77.so.1
and libmpi.so.1
. To fix this, type the following
sudo ln -s /usr/lib/libmpi_f77.so.0 /usr/lib/libmpi_f77.so.1
sudo ln -s /usr/lib/libmpi.so.0 /usr/lib/libmpi.so.1
-
Download the latest 64-bit compiled version of the Open MPI libraries for Linux.
-
Copy the file
openmpi...linux...tar.gz
to the/shared
directory -
cd to
/shared
and runsudo tar xvzf openmpi...linux...tar.gz
-
Test the MPI version of FDS by typing
fds
You should see the version number of FDS print with no errors.
-
Install the Linux Intel C/C++ and Fortran compilers.
-
Download and extract the latest version of Open MPI.
-
cd to the directory that you extracted Open MPI to.
-
Install Open MPI using the Intel compiler suite; configure and install using:
source /opt/intel/composerxe/bin/compilervars.sh intel64 ./configure --prefix /shared/openmpi_64 CC=icc CXX=icpc F77=ifort FC=ifort CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64
then type
make sudo make install
-
Build the FDS Linux version from the firemodels/fds repository:
cd Build/mpi_intel_linux_64 ./make_fds.sh