[cig-commits] r21255 - in seismo/2D/SPECFEM2D/trunk: . src/meshfem2D src/specfem2D

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Wed Jan 16 17:09:31 PST 2013


Author: dkomati1
Date: 2013-01-16 17:09:31 -0800 (Wed, 16 Jan 2013)
New Revision: 21255

Modified:
   seismo/2D/SPECFEM2D/trunk/Makefile.in
   seismo/2D/SPECFEM2D/trunk/configure
   seismo/2D/SPECFEM2D/trunk/configure.ac
   seismo/2D/SPECFEM2D/trunk/flags.guess
   seismo/2D/SPECFEM2D/trunk/src/meshfem2D/Makefile.in
   seismo/2D/SPECFEM2D/trunk/src/specfem2D/Makefile.in
Log:
removed FLAGS_NO_CHECK


Modified: seismo/2D/SPECFEM2D/trunk/Makefile.in
===================================================================
--- seismo/2D/SPECFEM2D/trunk/Makefile.in	2013-01-17 01:08:36 UTC (rev 21254)
+++ seismo/2D/SPECFEM2D/trunk/Makefile.in	2013-01-17 01:09:31 UTC (rev 21255)
@@ -110,7 +110,6 @@
 clean:
 	(rm -rf obj bin src/meshfem2D/*.mod src/specfem2D/*.mod )
 
-
 help:
 	@echo "usage: make [executable]"
 	@echo ""
@@ -121,3 +120,4 @@
 	@echo "    xcheck_quality_external_mesh"
 	@echo "    xadj_seismogram"
 	@echo ""
+

Modified: seismo/2D/SPECFEM2D/trunk/configure
===================================================================
--- seismo/2D/SPECFEM2D/trunk/configure	2013-01-17 01:08:36 UTC (rev 21254)
+++ seismo/2D/SPECFEM2D/trunk/configure	2013-01-17 01:09:31 UTC (rev 21255)
@@ -609,7 +609,6 @@
 PYTHON_EGG_CFLAGS
 PYTHONPATH
 LOCAL_PATH_IS_ALSO_GLOBAL
-FLAGS_NO_CHECK
 FLAGS_CHECK
 MPICC
 MPILIBS
@@ -736,7 +735,6 @@
 MPILIBS
 MPICC
 FLAGS_CHECK
-FLAGS_NO_CHECK
 LOCAL_PATH_IS_ALSO_GLOBAL
 PYTHON
 PYTHONPATH'
@@ -1393,10 +1391,7 @@
   MPIFC       MPI Fortran compiler command
   MPILIBS     extra libraries for linking MPI programs
   MPICC       MPI C compiler command
-  FLAGS_CHECK Fortran compiler flags for non-critical subroutines
-  FLAGS_NO_CHECK
-              Fortran compiler flags for creating fast, production-run code
-              for critical subroutines
+  FLAGS_CHECK Fortran compiler flags
   LOCAL_PATH_IS_ALSO_GLOBAL
               files on a local path on each node are also seen as global with
               same path [default=true]
@@ -6048,7 +6043,7 @@
 cit_fc_save_fc=$FC
 cit_fc_save_fcflags=$FCFLAGS
 FC=$MPIFC
-FCFLAGS="$FCFLAGS $FLAGS_NO_CHECK"
+FCFLAGS="$FCFLAGS $FLAGS_CHECK"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpif.h works" >&5
 $as_echo_n "checking whether mpif.h works... " >&6; }

Modified: seismo/2D/SPECFEM2D/trunk/configure.ac
===================================================================
--- seismo/2D/SPECFEM2D/trunk/configure.ac	2013-01-17 01:08:36 UTC (rev 21254)
+++ seismo/2D/SPECFEM2D/trunk/configure.ac	2013-01-17 01:09:31 UTC (rev 21255)
@@ -355,8 +355,7 @@
 AC_ARG_VAR(MPIFC, [MPI Fortran compiler command])
 AC_ARG_VAR(MPILIBS, [extra libraries for linking MPI programs])
 AC_ARG_VAR(MPICC, [MPI C compiler command])
-AC_ARG_VAR(FLAGS_CHECK, [Fortran compiler flags for non-critical subroutines])
-AC_ARG_VAR(FLAGS_NO_CHECK, [Fortran compiler flags for creating fast, production-run code for critical subroutines])
+AC_ARG_VAR(FLAGS_CHECK, [Fortran compiler flags])
 if test x"$MPIFC" = x; then
     MPIFC=mpif90
 fi
@@ -424,7 +423,7 @@
 # Checks for header files.
 
 if test "$want_mpi" = yes; then
-    CIT_FC_MPI_HEADER([$MPIFC], [$FLAGS_NO_CHECK])
+    CIT_FC_MPI_HEADER([$MPIFC], [$FLAGS_CHECK])
 fi
 
 # Checks for typedefs, structures, and compiler characteristics.

Modified: seismo/2D/SPECFEM2D/trunk/flags.guess
===================================================================
--- seismo/2D/SPECFEM2D/trunk/flags.guess	2013-01-17 01:08:36 UTC (rev 21254)
+++ seismo/2D/SPECFEM2D/trunk/flags.guess	2013-01-17 01:09:31 UTC (rev 21255)
@@ -2,6 +2,9 @@
 
 # Attempt to guess suitable flags for the Fortran compiler.
 
+# can add -DUSE_SERIAL_CASCADE_FOR_IOs to the compiler options to make the mesher output mesh data
+# to the disk for one MPI slice after the other, and to make the solver do the same thing when reading the files back from disk.
+
 # Use AC_CANONICAL_BUILD (and package config.guess, etc.) in the future?
 if test x"$UNAME_MS" = x; then
     UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
@@ -15,63 +18,43 @@
         # Cray Fortran
         #
         if test x"$FLAGS_CHECK" = x; then
-            FLAGS_CHECK="-eC -eD -hfp2"  # turn on full debugging and range checking
+            FLAGS_CHECK="-O3 -Onoaggress -Oipa0 -hfp2 -Ovector3 -Oscalar3 -Ocache2 -Ounroll2 -Ofusion2" # turn on optimization; -Oaggress -Oipa4 would make it even more aggressive
+        # -eC -eD -hfp2  # turn on full debugging and range checking
         fi
-        if test x"$FLAGS_NO_CHECK" = x; then
-            FLAGS_NO_CHECK="-O3 -Onoaggress -Oipa0 -hfp2 -Ovector3 -Oscalar3 -Ocache2 -Ounroll2 -Ofusion2" # turn on optimization; -Oaggress -Oipa4 would make it even more aggressive
-        fi
         ;;
     pgf95|*/pgf95|pgf90|*/pgf90)
         #
         # Portland PGI
         #
         if test x"$FLAGS_CHECK" = x; then
-            FLAGS_CHECK="-fast -Mbounds -Mneginfo -Mdclchk -Minform=warn" # -mcmodel=medium
+            FLAGS_CHECK="-fast -Mnobounds -Minline -Mneginfo -Mdclchk -Knoieee -Minform=warn -Mdaz -Mflushz" # -mcmodel=medium
+        # -Mbounds
+        # -fastsse -tp amd64e -Msmart
         fi
-        if test x"$FLAGS_NO_CHECK" = x; then
-# -fastsse -tp amd64e -Msmart
-            FLAGS_NO_CHECK="-fast -Mnobounds -Minline -Mneginfo -Mdclchk -Knoieee -Minform=warn -Mdaz -Mflushz" # -mcmodel=medium
-        fi
         ;;
     ifort|*/ifort)
         #
-        # Intel ifort Fortran90
+        # Intel ifort Fortran90 for Linux
+        # check: http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/fortran/lin/compiler_f/index.htm
         #
-        if test x"$FLAGS_NO_CHECK" = x; then
-        # standard options (leave option -ftz, which is *critical* for performance)
-        # add -Winline to get information about routines that are inlined
-        # add -vec-report2 to get information about loops that are vectorized or not
-            FLAGS_NO_CHECK="-O3 -xHost -vec-report0 -std03 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -warn alignments -warn ignore_loc -warn usage -check nobounds -align sequence -assume byterecl -ftz" # -DUSE_GUENNEAU -DCRISTINI_DO_NOT_DUMP_FICTITIOUS_REGIONS  # -mcmodel=medium -shared-intel
-            #FLAGS_NO_CHECK="-O3 -assume byterecl -check nobounds -ftz"
-
-        fi
         if test x"$FLAGS_CHECK" = x; then
-            FLAGS_CHECK="-O0 -vec-report0 -std03 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -warn alignments -warn ignore_loc -warn usage -check all -align sequence -assume byterecl -ftz -traceback -ftrapuv" # -DUSE_GUENNEAU -DCRISTINI_DO_NOT_DUMP_FICTITIOUS_REGIONS  # -mcmodel=medium -shared-intel
-            #FLAGS_CHECK="-O3 -assume byterecl -traceback -ftrapuv -ftz"
-
-
-            # ifort version 11 or 10.1 with these flags shows good performance
-            #FLAGS_CHECK="-O3 -ftz -xS -traceback -ftrapuv -vec-report0 -std03 -implicitnone -check nobounds -assume byterecl -static-intel -warn truncated_source -warn argument_checking -warn unused -warn declarations -warn alignments -warn ignore_loc -warn usage "
-            #FLAGS_CHECK="-O3 -xS -static-intel -r8 -mcmodel=large -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -check nobounds -align sequence -assume byterecl -ftrapuv -ftz -traceback"
-        # useful for debugging...
-            # for debugging: change -check nobounds to -check all -debug -g -O0 -fp-stack-check -traceback -ftrapuv
+            FLAGS_CHECK="-O3 -xHost -ftz -assume byterecl -align sequence -vec-report0 -std03 -implicitnone -warn truncated_source -warn argument_checking -warn unused -warn declarations -warn alignments -warn ignore_loc -warn usage -check nobounds" # -mcmodel=medium -shared-intel
         fi
+        # useful for debugging...
+        # for debugging: change -O3 -check nobounds to      -check all -debug -g -O0 -fp-stack-check -traceback -ftrapuv
+        #
         ;;
     gfortran|*/gfortran|f95|*/f95)
         #
         # GNU gfortran
         #
-        if test x"$FLAGS_NO_CHECK" = x; then
-            # works with: GNU Fortran (GCC) 4.1.2 20080704
-            FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O2 -pedantic -pedantic-errors -Waliasing -Wampersand -Wline-truncation -Wsurprising -Wunderflow -ffree-line-length-132"
-
-        #            FLAGS_NO_CHECK="-std=f95 -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffree-line-length-132" # -mcmodel=medium
-        # older gfortran syntax
-        #           FLAGS_NO_CHECK="-std=f95 -fimplicit-none -frange-check -O2 -Wunused-labels -Waliasing -Wampersand -Wsurprising -Wline-truncation -Wunderflow -ffree-line-length-132" # -mcmodel=medium
-        fi
         if test x"$FLAGS_CHECK" = x; then
-            FLAGS_CHECK="\$(FLAGS_NO_CHECK)" # -fbounds-check
+            FLAGS_CHECK="-std=f2003 -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow" # -mcmodel=medium
         fi
+        # useful for debugging... -ffpe-trap=underflow,overflow,zero -fbacktrace -fbounds-check
+        #
+        # older gfortran syntax
+        #   -std=f2003 -fimplicit-none -frange-check -O2 -Wunused-labels -Waliasing -Wampersand -Wsurprising -Wline-truncation -Wunderflow" # -mcmodel=medium
         ;;
     g95|*/g95)
         #
@@ -80,23 +63,16 @@
         if test x"$FLAGS_CHECK" = x; then
             FLAGS_CHECK="-O"
         fi
-        if test x"$FLAGS_NO_CHECK" = x; then
-            FLAGS_NO_CHECK="-O"
-        fi
         ;;
     f90|*/f90)
         case $UNAME_MS in
             i*86:Linux | x86_64:Linux)
-                ################ PC Linux #################
                 #
                 # AbSoft
                 #
                 if test x"$FLAGS_CHECK" = x; then
                     FLAGS_CHECK="-W132 -s -O3 -cpu:p7 -v -YDEALLOC=ALL"
                 fi
-                if test x"$FLAGS_NO_CHECK" = x; then
-                    FLAGS_NO_CHECK="\$(FLAGS_CHECK)"
-                fi
                 ;;
             *:IRIX*)
                 ################ SGI Irix #################
@@ -107,11 +83,9 @@
                     fi
                 fi
                 if test x"$FLAGS_CHECK" = x; then
-                    FLAGS_CHECK="\$(FLAGS_NO_CHECK) -check_bounds"
+                    FLAGS_CHECK="-ansi -u -64 -O3 -OPT:Olimit=0 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -r10000 -mips4"
+                #   -check_bounds
                 fi
-                if test x"$FLAGS_NO_CHECK" = x; then
-                    FLAGS_NO_CHECK="-ansi -u -64 -O3 -OPT:Olimit=0 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -r10000 -mips4"
-                fi
                 ;;
             SX-*:SUPER-UX | ES:ESOS)
                 ################## NEC SX ##################
@@ -121,9 +95,6 @@
                 if test x"$FLAGS_CHECK" = x; then
                     FLAGS_CHECK="-C hopt -R2 -Wf\" -L nostdout noinclist mrgmsg noeject -msg b -pvctl loopcnt=14000000 expand=10 fullmsg vecthreshold=20 -s\" -pi auto line=100 exp=swap_all,rank"
                 fi
-                if test x"$FLAGS_NO_CHECK" = x; then
-                    FLAGS_NO_CHECK="\$(FLAGS_CHECK)"
-                fi
                 ;;
         esac
         ;;
@@ -132,11 +103,9 @@
         # Lahey f90
         #
         if test x"$FLAGS_CHECK" = x; then
-            FLAGS_CHECK="--warn --wo --tpp --f95 --dal -O --chk"
+            FLAGS_CHECK="--warn --wo --tpp --f95 --dal -O"
+        #    --chk
         fi
-        if test x"$FLAGS_NO_CHECK" = x; then
-            FLAGS_NO_CHECK="--warn --wo --tpp --f95 --dal -O"
-        fi
         ;;
     ######## IBM ######
     mpxlf*|*/mpxlf*)
@@ -146,9 +115,9 @@
         ;;
     *xlf*|*/*xlf*)
         #
-        # do NOT remove option -qsave otherwise the IBM compiler allocates the
+        # on some (but not all) IBM machines one might need to add -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)
+        # small (which is sometimes the case, but less often these days on large machines)
         #
         # on IBM with xlf one should also set
         #
@@ -162,22 +131,37 @@
         #
         # for the C compiler when using -q64 for the Fortran compiler
         #
-        if test x"$FLAGS_NO_CHECK" = x; then
+        # on IBM xlf90 compiler:
+        # when encountering errors: ...relocation truncated to fit: R_PPC_LOCAL24PC...
+        # one should also use additional flags:
+        # CFLAGS = -Wl,-relax
+        #
+        if test x"$FLAGS_CHECK" = x; then
 # deleted -qxflag=dvz because it requires handler function __xl_dzx and thus linking will fail 
-            FLAGS_NO_CHECK="-O3 -qsave -qstrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=90pure -qsuppress=1518-317 -Q -Q+rank,swap_all -Wl,-relax -qunroll=yes"
+            FLAGS_CHECK="-O3 -qsave -qstrict -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=90pure -qsuppress=1518-317 -Q -Q+rank,swap_all -Wl,-relax -qunroll=yes"
         # on MareNostrum at the Barcelona SuperComputing Center (Spain) one can use
         # -qtune=ppc970 -qarch=ppc64v instead of -qtune=auto -qarch=auto
         # on "Babel" IBM BlueGene at IDRIS (France) use:
         # -qtune=auto -qarch=450d -qsave     instead of -qtune=auto -qarch=auto
-        fi
-        if test x"$FLAGS_CHECK" = x; then
         #
         # to debug with IBM xlf, one can add this: -g -O0 -C -qddim -qfullpath
         # to debug, one can add these three flags: -qflttrap=overflow:zerodivide:invalid:enable -qfloat=nans -qinitauto=7FBFFFFF
         #
-            FLAGS_CHECK="\$(FLAGS_NO_CHECK) -g -C -qddim -qfullpath"
         fi
         ;;
+    pathf90|*/pathf90)
+        #
+        # pathscale
+        #
+        # one should also set
+        # CC = pathcc
+        # CFLAGS = -O2
+        #
+        if test x"$FLAGS_CHECK" = x; then
+            FLAGS_CHECK="-O3 -OPT:Ofast -fno-math-errno -ffast-math -LNO:fusion=2 -LNO:simd=2 -LNO:simd_verbose=ON -msse3 -march=auto -fno-second-underscore -align64"
+        fi
+        ;;
+
 esac
 
 case $UNAME_MS in
@@ -193,7 +177,16 @@
 echo MPIFC=\"$MPIFC\" | sed 's/\$/\\\$/g'
 echo MPILIBS=\"$MPILIBS\" | sed 's/\$/\\\$/g'
 echo FLAGS_CHECK=\"$FLAGS_CHECK\" | sed 's/\$/\\\$/g'
-echo FLAGS_NO_CHECK=\"$FLAGS_NO_CHECK\" | sed 's/\$/\\\$/g'
 echo FCENV=\"$FCENV\" | sed 's/\$/\\\$/g'
 
+# Added by IDRIS: set to default values if not passed as arguments
+if [ "X${AR}" == "X" ]; then AR="ar"; fi
+if [ "X${RANLIB}" == "X" ]; then RANLIB="ranlib"; fi
+if [ "X${ARFLAGS}" == "X" ]; then ARFLAGS="cru"; fi
+
+# Added by IDRIS to crosscompile on BlueGene/P
+echo AR=\"$AR\" | sed 's/\$/\\\$/g'
+echo ARFLAGS=\"$ARFLAGS\" | sed 's/\$/\\\$/g'
+echo RANLIB=\"$RANLIB\" | sed 's/\$/\\\$/g'
+
 # end of file

Modified: seismo/2D/SPECFEM2D/trunk/src/meshfem2D/Makefile.in
===================================================================
--- seismo/2D/SPECFEM2D/trunk/src/meshfem2D/Makefile.in	2013-01-17 01:08:36 UTC (rev 21254)
+++ seismo/2D/SPECFEM2D/trunk/src/meshfem2D/Makefile.in	2013-01-17 01:09:31 UTC (rev 21255)
@@ -51,7 +51,6 @@
 MPILIBS = @MPILIBS@
 
 FLAGS_CHECK = @FLAGS_CHECK@ -I../../setup
-FLAGS_NO_CHECK = @FLAGS_NO_CHECK@ -I../../setup
 
 CC = @CC@
 CPPFLAGS = @CPPFLAGS@ $(COND_MPI_CPPFLAGS)
@@ -65,9 +64,6 @@
 @COND_MPI_TRUE at LIB = -L"@SCOTCH_LIBDIR@" -lscotch -lscotcherr
 @COND_MPI_FALSE at LIB =
 
-# optional: uncomment this to use more than one processor core, in which case the SCOTCH graph partitioner is needed
-#LIB = ../../scotch_5.1.10b/lib/libscotch.a ../../scotch_5.1.10b/lib/libscotcherr.a
-
 LINK = $(F90)
 
 ## compilation directories
@@ -95,8 +91,6 @@
 @COND_PYRE_FALSE@	check_quality_external_mesh \
 @COND_PYRE_FALSE@	$(EMPTY_MACRO)
 
-
-
 OBJS_MESHFEM2D = \
 	$O/get_node_number.o \
 	$O/param_reader.o \
@@ -221,5 +215,3 @@
 $O/param_reader.o: ${SHARED}/param_reader.c
 	${CC} -c $(CFLAGS) -o $O/param_reader.o ${SHARED}/param_reader.c
 
-
-

Modified: seismo/2D/SPECFEM2D/trunk/src/specfem2D/Makefile.in
===================================================================
--- seismo/2D/SPECFEM2D/trunk/src/specfem2D/Makefile.in	2013-01-17 01:08:36 UTC (rev 21254)
+++ seismo/2D/SPECFEM2D/trunk/src/specfem2D/Makefile.in	2013-01-17 01:09:31 UTC (rev 21255)
@@ -56,7 +56,6 @@
 MPILIBS = @MPILIBS@
 
 FLAGS_CHECK = @FLAGS_CHECK@ -I../../setup
-FLAGS_NO_CHECK = @FLAGS_NO_CHECK@ -I../../setup
 
 CC = @CC@
 CPPFLAGS = @CPPFLAGS@ $(COND_MPI_CPPFLAGS)
@@ -201,9 +200,8 @@
 ##
 ## solver
 ##
-### use optimized compilation option for solver only
 xspecfem2D: $(OBJS_SPECFEM2D)
-	$(LINK) $(FLAGS_NO_CHECK) -o ${E}/xspecfem2D $(OBJS_SPECFEM2D)
+	$(LINK) $(FLAGS_CHECK) -o ${E}/xspecfem2D $(OBJS_SPECFEM2D)
 
 ##
 ## convolve_source_timefunction
@@ -412,50 +410,41 @@
 $O/write_seismograms.o: ${S}/write_seismograms.F90 ${SETUP}/constants.h
 	${F90} $(FLAGS_CHECK) -c -o $O/write_seismograms.o ${S}/write_seismograms.F90
 
-##
-## use optimized compilation option for solver only
-##
 $O/check_stability.o: ${S}/check_stability.F90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/check_stability.o ${S}/check_stability.F90
+	${F90} $(FLAGS_CHECK) -c -o $O/check_stability.o ${S}/check_stability.F90
 
 $O/compute_energy.o: ${S}/compute_energy.f90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/compute_energy.o ${S}/compute_energy.f90
+	${F90} $(FLAGS_CHECK) -c -o $O/compute_energy.o ${S}/compute_energy.f90
 
 $O/compute_forces_acoustic.o: ${S}/compute_forces_acoustic.f90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/compute_forces_acoustic.o ${S}/compute_forces_acoustic.f90
+	${F90} $(FLAGS_CHECK) -c -o $O/compute_forces_acoustic.o ${S}/compute_forces_acoustic.f90
 
 $O/compute_forces_poro_fluid.o: ${S}/compute_forces_poro_fluid.f90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/compute_forces_poro_fluid.o ${S}/compute_forces_poro_fluid.f90
+	${F90} $(FLAGS_CHECK) -c -o $O/compute_forces_poro_fluid.o ${S}/compute_forces_poro_fluid.f90
 
 $O/compute_forces_poro_solid.o: ${S}/compute_forces_poro_solid.f90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/compute_forces_poro_solid.o ${S}/compute_forces_poro_solid.f90
+	${F90} $(FLAGS_CHECK) -c -o $O/compute_forces_poro_solid.o ${S}/compute_forces_poro_solid.f90
 
 $O/compute_forces_viscoelastic.o: ${S}/compute_forces_viscoelastic.F90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/compute_forces_viscoelastic.o ${S}/compute_forces_viscoelastic.F90
+	${F90} $(FLAGS_CHECK) -c -o $O/compute_forces_viscoelastic.o ${S}/compute_forces_viscoelastic.F90
 
 $O/compute_gradient_attenuation.o: ${S}/compute_gradient_attenuation.f90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/compute_gradient_attenuation.o ${S}/compute_gradient_attenuation.f90
+	${F90} $(FLAGS_CHECK) -c -o $O/compute_gradient_attenuation.o ${S}/compute_gradient_attenuation.f90
 
 $O/compute_normal_vector.o: ${S}/compute_normal_vector.f90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/compute_normal_vector.o ${S}/compute_normal_vector.f90
+	${F90} $(FLAGS_CHECK) -c -o $O/compute_normal_vector.o ${S}/compute_normal_vector.f90
 
 $O/enforce_acoustic_free_surface.o: ${S}/enforce_acoustic_free_surface.f90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/enforce_acoustic_free_surface.o ${S}/enforce_acoustic_free_surface.f90
+	${F90} $(FLAGS_CHECK) -c -o $O/enforce_acoustic_free_surface.o ${S}/enforce_acoustic_free_surface.f90
 
 $O/specfem2D.o: ${S}/specfem2D.F90 ${SETUP}/constants.h
-	${F90} $(FLAGS_NO_CHECK) -c -o $O/specfem2D.o ${S}/specfem2D.F90
+	${F90} $(FLAGS_CHECK) -c -o $O/specfem2D.o ${S}/specfem2D.F90
 
 
 ##
 ## shared
 ##
-#$O/read_value_parameters.o: ${SHARED}/read_value_parameters.f90
-#	${F90} $(FLAGS_CHECK) -c -o $O/read_value_parameters.o ${SHARED}/read_value_parameters.f90
-#
-#$O/param_reader.o: ${SHARED}/param_reader.c
-#	${CC} -c $(CFLAGS) -o $O/param_reader.o ${SHARED}/param_reader.c
 
-
 $O/jaricom.o: ${LIBJPEG}/jaricom.c
 	${CC} -c $(CFLAGS) -I${LIBJPEG} -o $O/jaricom.o ${LIBJPEG}/jaricom.c
 



More information about the CIG-COMMITS mailing list