P4 (locarno) 叉は Xeon (manton) で ifc を使う方法
(LAPACK をリンクする時)
★ まず断っておくけど、コレは bash を使っている場合の (追加) 設定方法。
.bash_profile に次の記述を加える (.bash_profile
が無ければ作成する)
. /opt/intel/compiler70/ia32/bin/ifcvars.sh
PATH=$PATH:/home/username
LD_LIBRARY_PATH="/opt/intel/compiler70/ia32/lib:/opt/intel/mkl/lib/32"
例えば test.f をコンパイルしたい時には、次のように打ち込む
ifc test.f -O3 -L/opt/intel/mkl/lib/32 -lmkl_lapack -lmkl_p4
-lpthread -L /opt/intel/compiler70/ia32/lib -lguide
★ csh / tsch を使っている人は、下のように .cshrc / .tcshrc
を (追加) 設定して下さい。
sh /opt/intel/compiler70/ia32/bin/ifcvars.sh
setenv PATH "$PATH":/home/username
setenv LD_LIBRARY_PATH /opt/intel/compiler70/ia32/lib:/opt/intel/mkl/lib/32