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 For csh shell: source /home/pkg/lic/intel-compilers/linux/ia32/cc/10.1.008/bin/iccvars.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 For csh shell: source /home/pkg/lic/intel-compilers/linux/em64/cce/10.1.008/bin/iccvars.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 :
For help on Fortran :
For help on C :
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). |