Compiling and Installing mfix-2016 with Intel MPI 5.0.3

The document to install MFIX can be found at https://mfix.netl.doe.gov/download/mfix/mfix_current_documentation/mfix_user_guide.pdf

We compiled using Intel 15.0.6 and Intel-MPI-5.0.3. Once done, you can easily compile with the following configuration parameters

# ./configure FC=mpif90 FCFLAGS='-g -O2' --prefix=/usr/local/mfix-2016.1_impi --enable-dmp
# make -j 16
# make install

Copy the libmfix.a to /usr/local/mfix-2016.1_impi

# mkdir /usr/local/mfix-2016.1_impi/lib
# cp libmfix.a /usr/local/mfix-2016.1_impi/lib

Compiling FDS-SMV with Intel MPI-5.0.3 on CentOS 6

Download the FDS Development Zip from fds-smv GitHub

Step 1: Unzip the fds-development.zip

$ unzip fds-development.zip

Step 2: Update .bashrc

.....
.....
export IFORT_COMPILER=/usr/local/intel_2015/composerxe/bin
#FDS environment -----------------------
export MPIDIST_ETH=/usr/local/intel_2015/impi/5.0.3.049/bin64
export MPIDIST_IB=/usr/local/intel_2015/impi/5.0.3.049/bin64
source ~/.bashrc_fds
#FDS -----------------------------------
.....
.....

Step 3: Initialise Intel Compilers

# touch /etc/profile.d/intel.sh
# vim intel.sh
source /usr/local/intel_2015/composerxe/bin/compilervars.sh intel64

Step 4: Compilation

# cd /home/user1/Downloads/fds-smv-development/FDS_Compilation/mpi_intel_linux_64ib
# ./make_fds.sh

Step 5: Test

# ./fds_mpi_intel_linux_64ib

Fire Dynamics Simulator

 Current Date     : July 21, 2016  13:13:56
 Version          : FDS 6.5.1
 Revision         :
 Revision Date    :
 Compilation Date : Jul 21, 2016  12:16:33

 MPI Enabled; Number of MPI Processes:          1
 OpenMP Enabled; Number of OpenMP Threads:   4

 MPI version: 3.0
 MPI library version: Intel(R) MPI Library 5.0 Update 3 for Linux* OS


 Consult FDS Users Guide Chapter, Running FDS, for further instructions.

 Hit Enter to Escape...