[cig-commits] r12609 - in seismo/3D/SPECFEM3D_GLOBE/trunk: . version41_beta
dkomati1 at geodynamics.org
dkomati1 at geodynamics.org
Mon Aug 11 17:05:30 PDT 2008
Author: dkomati1
Date: 2008-08-11 17:05:29 -0700 (Mon, 11 Aug 2008)
New Revision: 12609
Modified:
seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile
seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile.bgl
Log:
updated the compiler flags
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess 2008-08-11 23:31:27 UTC (rev 12608)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess 2008-08-12 00:05:29 UTC (rev 12609)
@@ -120,10 +120,6 @@
;;
*xlf*|*/*xlf*)
#
- # do NOT remove option -qsave otherwise the IBM compiler allocates the
- # arrays in the stack and the code crashes if the stack size is too
- # small (which is often the case)
- #
# on IBM with xlf one should also set
#
# CC = xlc_r
@@ -137,9 +133,15 @@
# for the C compiler when using -q64 for the Fortran compiler
#
if test x"$FLAGS_NO_CHECK" = x; then
- FLAGS_NO_CHECK="-O3 -qsave -qstrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -Q -qsuffix=f=f90 -qhalt=w -qlanglvl=2003pure -qflttrap=overflow:zerodivide:invalid:enable -qsigtrap -qinitauto=7FBFFFFF"
+
+ FLAGS_NO_CHECK="-O3 -qnosave -qnostrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -Q -qsuffix=f=f90 -qhalt=w -qlanglvl=2003pure"
+ # One can also use -qflttrap=overflow:zerodivide:invalid:enable -qsigtrap -qinitauto=7FBFFFFF to trap errors
# on MareNostrum at the Barcelona SuperComputing Center (Spain) use
- # -qtune=ppc970 -qarch=ppc64v instead of -qtune=auto -qarch=auto
+ # -qtune=ppc970 -qarch=ppc64v -qsave -qstrict instead of -qnosave -qnostrict -qtune=auto -qarch=auto
+ # otherwise the IBM compiler allocates the
+ # arrays in the stack and the code crashes if the stack size is too
+ # small (it is limited to 1GB on MareNostrum)
+
fi
if test x"$FLAGS_CHECK" = x; then
FLAGS_CHECK="\$(FLAGS_NO_CHECK) -C -qddim -qfloat=nans -qfullpath"
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile 2008-08-11 23:31:27 UTC (rev 12608)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile 2008-08-12 00:05:29 UTC (rev 12609)
@@ -53,6 +53,18 @@
#MPIFC = mpif90
#FLAGS_NO_CHECK = -fast -Mnobounds -Minline -Mneginfo -Mdclchk -Knoieee -Minform=warn -Mstandard -fastsse -tp amd64e
+#
+# IBM xlf
+#
+#FC = xlf_r
+#MPIFC = mpxlf90
+#FLAGS_NO_CHECK = -O3 -qnosave -qnostrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -Q -qsuffix=f=f90 -qhalt=w -qlanglvl=2003pure -qnoflttrap
+# One can also use -qflttrap=overflow:zerodivide:invalid:enable -qsigtrap -qinitauto=7FBFFFFF to trap errors
+# on MareNostrum at the Barcelona SuperComputing Center (Spain) use
+# -qtune=ppc970 -qarch=ppc64v -qsave -qstrict instead of -qnosave -qnostrict -qtune=auto -qarch=auto
+# otherwise the IBM compiler allocates the arrays in the stack and the code crashes
+# if the stack size is too small (it is limited to 1GB on MareNostrum)
+
FLAGS_CHECK = $(FLAGS_NO_CHECK)
FCFLAGS_f90 =
MPILIBS =
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile.bgl
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile.bgl 2008-08-11 23:31:27 UTC (rev 12608)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/version41_beta/Makefile.bgl 2008-08-12 00:05:29 UTC (rev 12609)
@@ -31,7 +31,7 @@
FCFLAGS = #-g
MPIFC = mpxlf90 -qmaxmem=-1 -qxflag=stacksize
MPILIBS =
-FLAGS_NO_CHECK = -O3 -qsave -qstrict -qarch=440 -qtune=440 -qfree=f90 -Q -qsuffix=f=f90
+FLAGS_NO_CHECK = -O3 -qarch=440 -qtune=440 -qfree=f90 -Q -qsuffix=f=f90
FLAGS_CHECK = $(FLAGS_NO_CHECK)
FCFLAGS_f90 =
More information about the cig-commits
mailing list