[Dart-dev] DART/branches Revision: 11235
dart at ucar.edu
dart at ucar.edu
Tue Mar 7 16:28:39 MST 2017
hendric at ucar.edu
2017-03-07 16:28:39 -0700 (Tue, 07 Mar 2017)
75
removing test for bgrid since workshop setup is run in models/buildall.csh
Modified: DART/branches/rma_rearrange/developer_tests/test_dart.csh
===================================================================
--- DART/branches/rma_rearrange/developer_tests/test_dart.csh 2017-03-07 23:27:46 UTC (rev 11234)
+++ DART/branches/rma_rearrange/developer_tests/test_dart.csh 2017-03-07 23:28:39 UTC (rev 11235)
@@ -23,6 +23,9 @@
endif
endif
+# cd into the main source directory
+cd ..
+
if ( ! -d models ) then
echo "models does not exist. $0 must be run from the top-level"
echo "DART directory -- please try again."
@@ -115,7 +118,7 @@
echo "not have all the necessary supporting libraries. So errors here"
echo "are not fatal."
-cd ${DARTHOME}/observations
+cd ${DARTHOME}/observations/obs_converters
if ( 1 == 1 ) then
./buildall.csh
endif
@@ -142,7 +145,7 @@
echo
echo
-cd ${DARTHOME}/location
+cd ${DARTHOME}/developer_tests/location
if ( 1 == 1 ) then
./testall.csh
endif
@@ -157,66 +160,8 @@
echo
echo
-#----------------------------------------------------------------------
-
-# FIXME: put this into a separate script
-
-
echo
-echo
echo "=================================================================="
-echo "=================================================================="
-echo "Testing single-threaded bgrid_solo at "`date`
-echo "=================================================================="
-echo "=================================================================="
-echo
-
-set MODEL = bgrid_solo
-
-cd ${DARTHOME}/models/${MODEL}/work
-
-# Save the 'original' files so we can reinstate them as needed
-
-${COPY} input.nml input.nml.$$
-${COPY} obs_seq.in obs_seq.in.$$
-${COPY} perfect_ics perfect_ics.$$
-${COPY} filter_ics filter_ics.$$
-
-# Begin by compiling all programs; need to stop if an error is detected
-./quickbuild.csh -nompi || exit 91
-
-
-# Run the perfect model and the filter
-./perfect_model_obs || exit 92
-./filter || exit 93
-
-echo "Removing the newly-built objects ..."
-${REMOVE} filter_restart perfect_restart
-${REMOVE} input.nml perfect_ics filter_ics
-${REMOVE} obs_seq.in obs_seq.out obs_seq.final
-${REMOVE} True_State.nc Prior_Diag.nc Posterior_Diag.nc
-${REMOVE} *.o *.mod
-${REMOVE} Makefile input.nml.*_default .cppdefs
-foreach TARGET ( mkmf_* )
- set PROG = `echo $TARGET | sed -e 's#mkmf_##'`
- ${REMOVE} $PROG
-end
-
-# Reinstate the 'original' files so we can run this again if we need to.
-
-${MOVE} input.nml.$$ input.nml
-${MOVE} obs_seq.in.$$ obs_seq.in
-${MOVE} perfect_ics.$$ perfect_ics
-${MOVE} filter_ics.$$ filter_ics
-
-echo
-echo "=================================================================="
-echo "Single-threaded testing of bgrid_solo complete at "`date`
-echo "=================================================================="
-echo
-
-echo
-echo "=================================================================="
echo "SKIPPING Testing single-threaded lorenz_96 (L96) at "`date`
#echo "Testing single-threaded lorenz_96 (L96) at "`date`
echo "=================================================================="
More information about the Dart-dev
mailing list