Showing posts with label hdf5. Show all posts
Showing posts with label hdf5. Show all posts

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/compilervars.sh intel64
source /usr/local/intel_2015/impi/5.0.3.049/bin64/mpivars.sh intel64
source /usr/local/intel_2015/mkl/bin/mklvars.sh 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/5.0.3.049/include64 -L/usr/local/intel_2015/impi/5.0.3.049/lib64"

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
References
  1. Building HDF5* with Intel® compilers
  2. Obtaining The Latest HDF5 Software

Saturday, March 17, 2012

Error when directly upgrading hdf5 1.6.10 directly on CentOS 5.4

On my CentOS 5.4 Linux Server

I was updating hdf5-1.6.10 to the latest version hdf5-1.8.7-1.el5.rf, however I have a dependency issue. I have got an error
R-hdf5-1.6.9-1.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: libhdf5.so.0()(64bit) is needed by package 
R-hdf5-1.6.9-1.el5.x86_64 (installed)
Error: Missing Dependency: libhdf5.so.0()(64bit) is needed by package 
R-hdf5-1.6.9-1.el5.x86_64 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
This is due to the mismatched version of hdf5.x86_64 (version 1.6.10-1.el5) and R-hdf5.x86_64 (1.6.9-1.el5).

To solve this is pretty straightforward, you have to remove the installed hdf5 and R-hdf5 totally and reinstall

# yum remove hdf5
# yum install hdf5 hdf5-devel