[Dart-dev] DART/branches Revision: 12066
dart at ucar.edu
dart at ucar.edu
Wed Nov 8 15:13:00 MST 2017
thoar at ucar.edu
2017-11-08 15:12:59 -0700 (Wed, 08 Nov 2017)
180
Just making these targets consistent. Some had mkmf* files, some had path_names*, but
they did't have the matching components. These targets build with ifort on my mac.
Untested.
Modified: DART/branches/coamps/models/coamps_nest/work/input.nml
===================================================================
--- DART/branches/coamps/models/coamps_nest/work/input.nml 2017-11-08 16:57:22 UTC (rev 12065)
+++ DART/branches/coamps/models/coamps_nest/work/input.nml 2017-11-08 22:12:59 UTC (rev 12066)
@@ -342,7 +342,7 @@
# all_metadata_file = 'metadata_file.txt'
# all_metadata_file = 'null'
&model_mod_check_nml
- input_state_files = 'dart_vector1.nc','dart_vector2.nc'
+ input_state_files = 'dart_vector.nc','dart_vector.nc'
output_state_files = 'check_me1.nc', 'check_me2.nc'
all_metadata_file = 'null'
verbose = .TRUE.
Added: DART/branches/coamps/models/coamps_nest/work/mkmf_check_in_grid
===================================================================
--- DART/branches/coamps/models/coamps_nest/work/mkmf_check_in_grid (rev 0)
+++ DART/branches/coamps/models/coamps_nest/work/mkmf_check_in_grid 2017-11-08 22:12:59 UTC (rev 12066)
@@ -0,0 +1,18 @@
+#!/bin/csh
+#
+# DART software - Copyright UCAR. This open source software is provided
+# by UCAR, "as is", without charge, subject to all terms of use at
+# http://www.image.ucar.edu/DAReS/DART/DART_download
+#
+# DART $Id$
+
+../../../build_templates/mkmf -p check_in_grid -t ../../../build_templates/mkmf.template \
+ -c"-DHDF5" -a "../../.." path_names_check_in_grid
+
+exit $status
+
+# <next few lines under version control, do not edit>
+# $URL$
+# $Revision$
+# $Date$
+
Property changes on: DART/branches/coamps/models/coamps_nest/work/mkmf_check_in_grid
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Date Rev Author HeadURL Id
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: DART/branches/coamps/models/coamps_nest/work/mkmf_create_mean_nogaps
===================================================================
--- DART/branches/coamps/models/coamps_nest/work/mkmf_create_mean_nogaps (rev 0)
+++ DART/branches/coamps/models/coamps_nest/work/mkmf_create_mean_nogaps 2017-11-08 22:12:59 UTC (rev 12066)
@@ -0,0 +1,64 @@
+#!/bin/csh
+#
+# DART software - Copyright UCAR. This open source software is provided
+# by UCAR, "as is", without charge, subject to all terms of use at
+# http://www.image.ucar.edu/DAReS/DART/DART_download
+#
+# DART $Id$
+
+# usage: mkmf_create_mean_nogaps [ -mpi | -nompi ]
+# without any args, builds filter without mpi libraries, and it will run
+# as a normal executable. if -mpi is given, it will be compiled with the mpi
+# libraries and can run with multiple cooperating processes.
+
+if ( $#argv > 0 ) then
+ if ("$argv[1]" == "-mpi") then
+ setenv usingmpi 1
+ else if ("$argv[1]" == "-nompi") then
+ setenv usingmpi 0
+ else
+ echo "Unrecognized argument to mkmf_filter: $argv[1]"
+ echo "Usage: mkmf_create_mean_nogaps [ -mpi | -nompi ]"
+ echo " default is to generate a Makefile without MPI support."
+ exit -1
+ endif
+else
+ setenv usingmpi 0
+endif
+
+
+# make a backup copy of the path_names file, and then use
+# sed to make sure it includes either the non-mpi subroutines,
+# or the subroutines which really call mpi.
+set path_name = 'path_names_create_mean_nogaps'
+cp -f ${path_name} ${path_name}.back
+
+if ( $usingmpi ) then
+
+ echo "Making Makefile with MPI"
+ touch using_mpi_for_create_mean_nogaps
More information about the Dart-dev
mailing list