[Dart-dev] DART/branches Revision: 11436
dart at ucar.edu
dart at ucar.edu
Thu Apr 6 10:35:15 MDT 2017
nancy at ucar.edu
2017-04-06 10:35:15 -0600 (Thu, 06 Apr 2017)
39
update build name, consistent format.
Modified: DART/branches/rma_trunk/assimilation_code/programs/gen_sampling_err_table/work/quickbuild.csh
===================================================================
--- DART/branches/rma_trunk/assimilation_code/programs/gen_sampling_err_table/work/quickbuild.csh 2017-04-06 16:20:16 UTC (rev 11435)
+++ DART/branches/rma_trunk/assimilation_code/programs/gen_sampling_err_table/work/quickbuild.csh 2017-04-06 16:35:15 UTC (rev 11436)
@@ -1,4 +1,4 @@
-#!/bin/csh
+#!/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
@@ -5,37 +5,39 @@
# http://www.image.ucar.edu/DAReS/DART/DART_download
#
# DART $Id$
-#
-# This script compiles all executables in this directory.
+#----------------------------------------------------------------------
+# compile all programs in the current directory that have a mkmf_xxx file.
+#----------------------------------------------------------------------
+
+# this item's name:
+set ITEM = "Generate Sampling Error Correction Table"
+
+
+# ---------------
+# shouldn't have to modify this script below here.
+
\rm -f *.o *.mod
-set MODEL = "system_simulation"
-
@ n = 0
-#----------------------------------------------------------------------
-# Build all the single-threaded targets
-#----------------------------------------------------------------------
-
foreach TARGET ( mkmf_* )
- set PROG = `echo $TARGET | sed -e 's#mkmf_##'`
+ set PROG = `echo $TARGET | sed -e 's/mkmf_//'`
@ n = $n + 1
echo
echo "---------------------------------------------------"
- echo "${MODEL} build number ${n} is ${PROG}"
- \rm -f ${PROG}
+ echo "$ITEM build number $n is $PROG"
+ \rm -f $PROG
csh $TARGET || exit $n
make || exit $n
end
-# clean up. comment this out if you want to keep the .o and .mod files around
-\rm -f *.o *.mod input.nml.*_default
+echo "Success: All programs compiled."
-echo "Success: All DART programs compiled."
+\rm -f *.o *.mod input.nml*_default
exit 0
More information about the Dart-dev
mailing list