Compile zlib-1.2.8 with Intel-15.0.6

Step 1: Download the zlib from HDF5 (
In your .bashrc, you can

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 CFLAGS='-O3 -xHost -ip'

At your command prompt

$ tar -zxvf zlib-1.2.8.tar.gz
$ cd zlib-1.2.8
$ ./configure --prefix=/usr/local/zlib-1.2.7
$ make
$ make check
$ make install


  1. Building HDF5* with Intel® compilers



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.