! ! compiler specific settings : IBM XLF v12.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 ! 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} mpi.compiler.fc : mpfort -qfree=f90 mpi.compiler.fc.openmp : mpfort -qfree=f90 ! 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 : -qzerosize -w ${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!) ! Prior to 24/3/2011: !compiler.flags.check-all.fflags : -qcheck -qundef -qflttrap=zerodivide:invalid:enable compiler.flags.check-all.fflags : -qsigtrap -qflttrap=enable:inv:ov:zero:nanq -C -g compiler.flags.check-all.ldflags : compiler.flags.debug.fflags : -qdbg -qfullpath compiler.flags.debug.ldflags :