#Compilers: however I am not sure whether 5.0/6.0/7.0 work or not.
unsetenv IC50
unsetenv IC60
unsetenv IC70
unsetenv IC80
unsetenv IC90
setenv IC81
if ($?IC50) then
source /opt/intel/compiler50/ia32/bin/ifcvars.csh
source /opt/intel/compiler50/ia32/bin/iccvars.csh
else if ($?IC60) then
source /opt/intel/compiler60/ia32/bin/ifcvars.csh
source /opt/intel/compiler60/ia32/bin/iccvars.csh
else if ($?IC70) then
source /opt/intel/compiler70/ia32/bin/ifcvars.csh
source /opt/intel/compiler70/ia32/bin/iccvars.csh
setenv MKL_HOME /opt/intel/mkl721
if ($?INCLUDE) then
setenv INCLUDE ${MKL_HOME}/include:${INCLUDE}
else
setenv INCLUDE ${MKL_HOME}/include
endif
setenv LD_LIBRARY_PATH ${MKL_HOME}/lib/32:${LD_LIBRARY_PATH}
else if ($?IC80) then
source /opt/intel/compiler80/bin/ifortvars.csh
setenv MKL_HOME /opt/intel/mkl721
if ($?INCLUDE) then
setenv INCLUDE ${MKL_HOME}/include:${INCLUDE}
else
setenv INCLUDE ${MKL_HOME}/include
endif
setenv LD_LIBRARY_PATH ${MKL_HOME}/lib/32:${LD_LIBRARY_PATH}
else if ($?IC90) then
source /opt/intel/cc/9.0/bin/iccvars.csh
source /opt/intel/fc/9.0/bin/ifortvars.csh
setenv MKL_HOME /opt/intel/mkl/8.0.1
source ${MKL_HOME}/tools/environment/mklvars32.csh
else if ($?IC81) then
source /opt/intel/fc/8.1/bin/ifortvars.csh
setenv MKL_HOME /opt/intel/mkl/8.0.1
source ${MKL_HOME}/tools/environment/mklvars32.csh
endif
Monday, July 24, 2006
Intel Compiler Settings on Linux
After checking my .cshrc resource profile, I found this reveals the history of our lab being using Intel compilers.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment