# files names with masks have not been individually optimised. set OPT = '-O3' # -xP causes dftgrd to SIGILL, -ip and -xN seem to make it slower. if ($MODULE == dftgrd) set OPT='-O3 -xW -unroll8 -pad -opt_report' # -xP causes eigen to SIGILL if ($MODULE == eigen) set OPT='-O3 -xN -ssp -unroll8 -mp -ip -pad -opt_report' # fmolib has a bizarre compiler error with -xP (IPO Error: unresolved:vmliDiv4) if ($MODULE =~ fmo*) set OPT='-O3 -xN -unroll8 -pad -opt_report' if ($MODULE == fmoint) set OPT='-O3 -xN -ssp -unroll8 -ip -pad -opt_report' # -xP causes some of grd* to SIGILL if ($MODULE == grd1) set OPT='-O3 -xNP -ssp -unroll8 -ip -pad -opt_report' # -xN seems to make grd2* slower if ($MODULE =~ grd2*) set OPT='-O3 -xW -unroll8 -ip -pad -opt_report' # -xP causes int1 to SIGILL if ($MODULE == int1) set OPT='-O3 -xN -ssp -unroll8 -ip -pad -opt_report' # -xNP and -ssp make int2a slower if ($MODULE == int2a) set OPT='-O3 -xW -unroll8 -ip -pad -opt_report' # -xP causes int2b to SIGILL if ($MODULE == int2b) set OPT='-O3 -xN -ssp -unroll8 -ip -pad -opt_report' if ($MODULE == int2c) set OPT='-O3 -xNP -ssp -unroll8 -ip -opt_report' # -xP causes some of int2[dfg] to SIGILL if ($MODULE =~ int2[dfg]) set OPT='-O3 -xN -unroll8 -ip -pad -opt_report' # -xP causes int2ra to SIGILL # compiler freezes in R30S1D without -a in -ax if ($MODULE == int2r) set OPT='-O3 -axN -ssp -unroll8 -ip -pad -opt_report' if ($MODULE == int2s) set OPT='-O3 -xNP -unroll8 -ip -pad -opt_report' if ($MODULE =~ int2[tuvwx]) set OPT='-O3 -xN -unroll8 -pad -opt_report' # xP causes mp2 to SIGILL, -unroll8 makes mp2 slower. if ($MODULE == mp2) set OPT='-O3 -unroll0 -ip -pad -opt_report' # -xP causes mp2ddi to SIGILL, -xN makes it slower. if ($MODULE == mp2ddi) set OPT='-O3 -xW -unroll8 -ip -pad -opt_report' # xP causes mp2grd to SIGILL, -xN makes mp2grd slower. if ($MODULE == mp2grd) set OPT='-O3 -xW -unroll8 -ip -pad -opt_report' # pcmief has a bizarre compiler error with -xW/-xN (vmldSinCos2 etc undefineD) # other options have no effect. # if ($MODULE == pcmief) set OPT='-O3 -xN -unroll8 -ip -pad -opt_report' # -xN/-unroll seems to make prpel slower if ($MODULE == prpel) set OPT='-O3 -xW -unroll0 -ip -pad -opt_report' # -xN/-xW make rhfufh slower if ($MODULE == rhfuhf) set OPT='-O3 -xP -ssp -unroll8 -ip -pad -opt_report' # -xP causes scflib to SIGILL if ($MODULE == scflib) set OPT='-O3 -unroll8 -ip -pad -opt_report' # -xP causes trans to SIGILL if ($MODULE == trans) set OPT='-O3 -xN -ssp -unroll8 -ip -pad -opt_report' # -xP causes mthlib to SIGILL, -unroll8 makes it slower. if ($MODULE == mthlib) set OPT='-O3 -xN -ssp -unroll0 -ip -pad -opt_report' # --- below this line not optimised for 9.0 (copied from 8.1). if ($MODULE == delocl) set OPT='-O0' # cphf produces wrong results with -xW, the options below are fine but no speed if ($MODULE == cphf) set OPT='-O3 -unroll8 -ip -pad -opt_report' # lagran works with -xW but becomes slower if ($MODULE == lagran) set OPT='-O3 -unroll8 -ip -pad -opt_report' if ($MODULE == mcscf) set OPT='-O3 -unroll8 -ip -pad -opt_report' if ($MODULE == mccas) set OPT='-O3 -unroll8 -ip -pad -opt_report' if ($MODULE == ormas1) set OPT='-O3 -unroll8 -ip -pad -opt_report' if ($MODULE =~ gug*) set OPT='-O3 -unroll8 -ip -pad -opt_report' # -pad or -ip make aldeci slower if ($MODULE =~ al*) set OPT='-O3 -unroll8 -opt_report' if ($MODULE == ccsdt) set OPT='-O3 -xW -pad -opt_report' set echo # ifort $OPT $PROF -cm -w -c $MODULE.f ifort $OPT $PROF -assume buffered_io -assume byterecl -cm -w -c $MODULE.f unset echo