Intel Compilers

The Intel Compilers for Fortran and C version 10.1 have been installed at SERC.  you can use them on the machines in the first floor bay area, sunlx, fedlx and hplx, at SERC.

Environmental Setup on the sunlx , hplx and  fedlx machines

For bash shell:

source /home/pkg/lic/intel-compilers/linux/em64/cce/10.1.008/bin/
source /home/pkg/lic/intel-compilers/linux/em64/fce/10.1.008/bin/
source /home/pkg/lic/intel-compilers/linux/mkl/10.0.011/tools/environment/

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


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.

You can also use

  ifort  -o filename.out filename.f

Then the filename.out becomes the executable file and if you run this file


you will get the results of your program.

To compile using MKL use the following command:

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


For help on MKL :


For help on Fortran :


For help on C :


Report Problems to: 
For any queries, raise a ticket in the helpdesk or please contact System Administrator, #103,SERC.