2010年10月6日水曜日

GAMESSのプロファイリング

compallから読み出されるシェルスクリプトcompに説明がある.
---------------
# To profile code during development stages,
# 1. "comp" desired modules with -pg added to the xlf flags
# 2. "lked" after adding -p to the xlf flags.
# 3. execute to completion, generating 'mon.out' file.
# 4. generate results by 'prof gamess.00.x mon.out'.
---------------
gfortranの場合は,以下を追加
1380行(32bit)
gfortran -pg -c $OPT -std=legacy $MODULE.f
1517行(64bit)
gfortran -pg -c -fdefault-integer-8 $OPT -std=legacy $MODULE.f

0 件のコメント: