Intel Compiler 環境変数セット
上のを使って
current の部分は version が入る。
# C/C++ compiler if [ -f /opt/intel/cce/current/bin/iccvars.sh ]; then . /opt/intel/cce/current/bin/iccvars.sh fi # FORTRAN compiler if [ -f /opt/intel/fce/current/bin/ifortvars.sh ]; then . /opt/intel/fce/current/bin/ifortvars.sh fi # MKL enviroment case "$OSTYPE" in darwin*) export MKL_PATH='/Library/Frameworks/Intel_MKL.framework/Versions/Current' ;; linux*) export MKL_PATH='/opt/intel/mkl/current' ;; esac if [ -f "$MKL_PATH/tools/environment/mklvarsem64t.sh" ]; then . "$MKL_PATH/tools/environment/mklvarsem64t.sh" fi