Friday, September 30, 2016

Compiling HDF5-1.8.17 with Intel-15.0.6 and Intel-MPI-5.0.6

Step 1: Preparing the prerequisites
$ vim .bashrc

source /usr/local/intel_2015/bin/ intel64
source /usr/local/intel_2015/impi/ intel64
source /usr/local/intel_2015/mkl/bin/ intel64
export CC=icc
export CXX=icpc
export F77=ifort
export MPICC=mpicc
export MPICXX=mpiicpc
export CFLAGS="-O3 -xHost -fno-alias -align"
export FFLAGS="-O3 -xHost -fno-alias -align"
export CXXFLAGS="-O3 -xHost -fno-alias -align"
export FFlags="-I/usr/local/intel_2015/impi/ -L/usr/local/intel_2015/impi/"

Step 2: Compile zlib-1 See Compile zlib-1.2.8 with Intel-15.0.6 Step 3: Configure the HDF5
$ tar -zxvf hdf5-1.8.17.tar.gz
$ cd hdf5-1.8.17
$ ./configure --prefix=/usr/local/hdf5-1.8.17 --enable-fortran --enable-cxx
$ make
$ make check
$ make install
  1. Building HDF5* with Intel® compilers
  2. Obtaining The Latest HDF5 Software

No comments: