SERC

Intel Compilers

The Intel Compilers for Fortran and C version 10.1 have been installed at SERC.

Environmental Setup

On the ibmlx machines:

For bash shell:

source /home/pkg/lic/intel-compilers/linux/ia32/cc/10.1.008/bin/iccvars.sh
source /home/pkg/lic/intel-compilers/linux/ia32/fc/10.1.008/bin/ifortvars.sh
source/home/pkg/lic/intel-compilers/linux/mkl/10.0.011/tools/environment/mklvars32.sh

For csh shell:

source /home/pkg/lic/intel-compilers/linux/ia32/cc/10.1.008/bin/iccvars.csh
source /home/pkg/lic/intel-compilers/linux/ia32/fc/10.1.008/bin/ifortvars.csh
source/home/pkg/lic/intel-compilers/linux/mkl/10.0.011/tools/environment/mklvars32.csh

On the sunlx and hplx machines:

For bash shell:

source /home/pkg/lic/intel-compilers/linux/em64/cce/10.1.008/bin/iccvars.sh
source /home/pkg/lic/intel-compilers/linux/em64/fce/10.1.008/bin/ifortvars.sh
source/home/pkg/lic/intel-compilers/linux/mkl/10.0.011/tools/environment/mklvarsem64t.sh

For csh shell:

source /home/pkg/lic/intel-compilers/linux/em64/cce/10.1.008/bin/iccvars.csh
source /home/pkg/lic/intel-compilers/linux/em64/fce/10.1.008/bin/ifortvars.csh
source
/home/pkg/lic/intel-compilers/linux/mkl/10.0.011/tools/environment/mklvarsem64t.csh

Compilation

To compile fortran 90/95 files using MKL use the following command:

ifort -Bdynamic filename.f90 -I $LIBRARY_PATH -L $LIBRARY_PATH -lmkl_blas95 -lmkl -lguide -lpthread

To compile fortran files at the prompt type

ifort filename.f90 or ifort -c filename.f

Then an executable a.out (default) is created, run that file : ./a.out for
obtaining the output.

To compile using MKL use the following command:

ifort -Bdynamic filename.f90 -I $LIBRARY_PATH -L $LIBRARY_PATH
-lmkl_blas95 -lmkl -lguide -lpthread

Documentation

For help on MKL :

/home/pkg/lic/intel-compilers/linux/mkl/10.0.011/doc/Doc_index.html

For help on Fortran :

/home/pkg/lic/intel-compilers/linux/ em64/fce/10.1.008/doc/Doc_index.html

For help on C :

/home/pkg/lic/intel-compilers/linux/em64/cce/10.1.008/doc/Doc_index.html

Report Problems to:

If you encounter any problem in using this software Please report to us at the following email address helpdesk@serc.iisc.ernet.in or contact System Administrators in 109 (SERC).