SCore オプションコンパイラについて
前提となる情報
SCoreは標準としてgnuのコンパイラを利用するよう設定されている。
ただし、Fortran90に関しては標準コンパイラが設定されていない。
つまりデフォルトの状態では、
mpicc,mpic++,mpif77はgcc,g++,g77を利用して実行できるが、
mpif90は利用すべきコンパイラを指定しない限り実行できない。
・・・ドキュメントにはこれらの事実がとてもわかりにくく表記されているw
そしてmpif90を利用したい場合は、標準として利用すべきコンパイラを指定してやる必要がある。
作業方針
/opt/score/etc/compilers/site を作成
具体的には
まず /opt/score/etc/compilers/site.example.intel をコピー
これで行けたら万歳。だめなら自分でかく。
参考:http://www.pccluster.org/score/dist/score/html/ja/man/man5/compilers.html
score_compiler_list -all -path -check で確認
続きはその後考える。
その他必要になりそうな予備知識と参考リンク
mpif90
manページ http://www.pccluster.org/score/dist/score/html/ja/man/man1/mpif90.html
オプション
-compiler コンパイラ
利用するFortran90コンパイラを指定
ex) -compiler intel
scoref90
manページ http://www.pccluster.org/score/dist/score/html/ja/man/man1/scoref90.html
オプション
上にほぼ同じ。