[Dart-dev] DART/branches Revision: 12406
dart at ucar.edu
dart at ucar.edu
Thu Feb 15 15:40:52 MST 2018
hendric at ucar.edu
2018-02-15 15:40:51 -0700 (Thu, 15 Feb 2018)
27
removing duplicated files
Modified: DART/branches/rma_static_data/assimilation_code/modules/utilities/mpi_utilities_mod.f90
===================================================================
--- DART/branches/rma_static_data/assimilation_code/modules/utilities/mpi_utilities_mod.f90 2018-02-15 22:38:32 UTC (rev 12405)
+++ DART/branches/rma_static_data/assimilation_code/modules/utilities/mpi_utilities_mod.f90 2018-02-15 22:40:51 UTC (rev 12406)
@@ -72,16 +72,16 @@
! this directory. It is a sed script that comments in and out the interface
! block below. Please leave the BLOCK comment lines unchanged.
-! !!SYSTEM_BLOCK_EDIT START COMMENTED_OUT
-! ! interface block for getting return code back from system() routine
-! interface
-! function system(string)
-! character(len=*) :: string
-! integer :: system
-! end function system
-! end interface
-! ! end block
-! !!SYSTEM_BLOCK_EDIT END COMMENTED_OUT
+ !!SYSTEM_BLOCK_EDIT START COMMENTED_IN
+ ! interface block for getting return code back from system() routine
+ interface
+ function system(string)
+ character(len=*) :: string
+ integer :: system
+ end function system
+ end interface
+ ! end block
+ !!SYSTEM_BLOCK_EDIT END COMMENTED_IN
! allow global sum to be computed for integers, r4, and r8s
Modified: DART/branches/rma_static_data/assimilation_code/modules/utilities/null_mpi_utilities_mod.f90
===================================================================
--- DART/branches/rma_static_data/assimilation_code/modules/utilities/null_mpi_utilities_mod.f90 2018-02-15 22:38:32 UTC (rev 12405)
+++ DART/branches/rma_static_data/assimilation_code/modules/utilities/null_mpi_utilities_mod.f90 2018-02-15 22:40:51 UTC (rev 12406)
@@ -46,16 +46,16 @@
! this directory. It is a sed script that comments in and out the interface
! block below. Please leave the BLOCK comment lines unchanged.
-! !!SYSTEM_BLOCK_EDIT START COMMENTED_OUT
-! ! interface block for getting return code back from system() routine
-! interface
-! function system(string)
-! character(len=*) :: string
-! integer :: system
-! end function system
-! end interface
-! ! end block
-! !!SYSTEM_BLOCK_EDIT END COMMENTED_OUT
+ !!SYSTEM_BLOCK_EDIT START COMMENTED_IN
+ ! interface block for getting return code back from system() routine
+ interface
+ function system(string)
+ character(len=*) :: string
+ integer :: system
+ end function system
+ end interface
+ ! end block
+ !!SYSTEM_BLOCK_EDIT END COMMENTED_IN
interface sum_across_tasks
Modified: DART/branches/rma_static_data/build_templates/mkmf.template
===================================================================
--- DART/branches/rma_static_data/build_templates/mkmf.template 2018-02-15 22:38:32 UTC (rev 12405)
+++ DART/branches/rma_static_data/build_templates/mkmf.template 2018-02-15 22:40:51 UTC (rev 12406)
@@ -1,4 +1,4 @@
-# Template for GNU gfortran on Linux or Mac OSX
+# Template for Intel Fortran Compiler on Linux clusters and workstations.
#
# DART software - Copyright UCAR. This open source software is provided
# by UCAR, "as is", without charge, subject to all terms of use at
@@ -9,57 +9,107 @@
# typical use with mkmf
# mkmf -t mkmf.template.xxxx ...
#
-# Suggested (perhaps required) flags:
-# -ffree-line-length-none handles "long" lines - i.e. longer than 72 chars
+# FFLAGS useful for DEBUGGING. NOTE: The intel compiler can provide a lot more
+# information if you LEAVE the object and module files intact.
+# Do not remove the *.o and *.mod files when debugging code.
#
-# Suggested debugging flags:
-# -g add debugging information to executable
-# -Wuninitialized catch uninitialized variables
-# -Wunused issue warning for unused variables - keeps code clean
-# -fbacktrace runtime errors try to print out a stack backtrace
-# -fbounds-check add runtime-checking for out-of-range array indices
-# -ffpe-trap=invalid,zero,overflow
-# stop on floating point errors
+# -g include debugging information. these are all synonyms.
+# -debug full
+# -debug all
+# -O0 setting -g will make this the default (no optimization).
+# it is possible to set -g and then explicitly set -O2 if
+# the behavior being debugged depends on optimization changes.
+# -ftrapuv traps if a local variable is used before being set
+# -C enables all runtime checks. -C and -check all are synonyms.
+# -check all
More information about the Dart-dev
mailing list