! ! compiler specific settings : IBM XLF v12.1/V13.1 ! ! ! the compiler names will be set to: ! [mp]xlf[90|95|2003][_r] ! where the optial parts are: ! mp : for MPI runs ! _r : for OpenMP runs ! !compiler.fc : xlf !compiler.fc : xlf90 compiler.fc : xlf95 !compiler.fc : xlf2003 ! specify flag to retrieve version if different from '-v' compiler.getversion_flag : -qversion ! some files require f77 compiler: compiler.f77 : xlf ! idem for thread-safe compilation, as required for compilation with OpenMP support ; ! note that OpenMP also requires compiler flag '-qsmp=omp' ! compiler.fc.openmp : ${compiler.fc}_r ! compilers for MPI programs: mpi.compiler.fc : mp${compiler.fc} mpi.compiler.fc.openmp : mp${compiler.fc.openmp} ! to define macro's: compiler.defineflag : -WF,-D ! default compiler flags: ! o -w : Suppresses informational, language-level and warning messages. ! o extra flags defined in machine rc file. compiler.flags.default.fflags : ${my.default.fflags} compiler.flags.default.ldflags : compiler.flags.real8.fflags : -qrealsize=8 compiler.flags.real8.ldflags : compiler.flags.mpi.fflags : compiler.flags.mpi.ldflags : compiler.flags.openmp.fflags : -qsmp=omp compiler.flags.openmp.ldflags : compiler.flags.optim-none.fflags : -O0 compiler.flags.optim-none.ldflags : compiler.flags.optim-strict.fflags : -qstrict compiler.flags.optim-strict.ldflags : compiler.flags.optim-fast.fflags : -O3 -qarch=auto compiler.flags.optim-fast.ldflags : -O3 -qarch=auto compiler.flags.optim-vfast.fflags : -O5 -qarch=auto compiler.flags.optim-vfast.ldflags : -O5 -qarch=auto ! 24 Mar 2011 - P. Le Sager : Added sigtrap to use default trap ! handler (and to get no core files) and -g to get traceback with line ! number. Added overflow and NaN to list of traps. ! ! It is **NOT** recommended to add -qinitauto=FF with -qflttrap=nanq, ! since there are several uninitialized variables by design in TM5 ! that are just fine (like in unbounded do statement!) ! remove nanq (xlf 13 was too agressive at catching them) compiler.flags.check-all.fflags : -qsigtrap -qflttrap=enable:inv:ov:zero -C -g -qfullpath !compiler.flags.check-all.fflags : -qsigtrap -C -g -qfullpath compiler.flags.check-all.ldflags : compiler.flags.debug.fflags : -qdbg -qfullpath compiler.flags.debug.ldflags :