[Dart-dev] DART/branches Revision: 11176
dart at ucar.edu
dart at ucar.edu
Wed Mar 1 17:15:49 MST 2017
hendric at ucar.edu
2017-03-01 17:15:49 -0700 (Wed, 01 Mar 2017)
131
This should be all of the steps nesecessary to svn arrange
everything into a strawman structure. This still needs some
checking.
Added: DART/branches/rma_rearrange/transcription.csh
===================================================================
--- DART/branches/rma_rearrange/transcription.csh (rev 0)
+++ DART/branches/rma_rearrange/transcription.csh 2017-03-02 00:15:49 UTC (rev 11176)
@@ -0,0 +1,412 @@
+#!/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: test_dart.csh 11114 2017-02-15 20:53:51Z hendric at ucar.edu $
+
+if ( ! -d models ) then
+ echo "models does not exist. $0 must be run from the top-level"
+ echo "DART directory -- please try again."
+ exit 2
+else
+ set DARTHOME = `pwd`
+endif
+
+echo "The top-level DART directory (DARTHOME) is $DARTHOME"
+
+setenv REMOVE 'rm -rf'
+setenv COPY 'cp -p'
+setenv MOVE 'mv -f'
+setenv SVN_RM 'svn rm '
+setenv SVN_MV 'svn mv'
+setenv SVN_MKDIR 'svn mkdir'
+
+########################################################################
+
+echo
+echo
+echo "=================================================================="
+echo "=================================================================="
+echo "Making top level directories : "`date`
+echo "=================================================================="
+echo "=================================================================="
+echo
+echo
+
+set ASSIM_CODE = assimilation_code
+set BUILD_CODE = build_templates
+set TEST_CODE = developer_tests
+set DOCUMENTATION = documentation
+set DIAGNOSTICS = diagnostics
+set MODELS = models
+set OBSERVATIONS = observations
+
+echo "=================================================================="
+echo " Starting Clean "
+echo "=================================================================="
+
+svn revert --depth=infinity .
+
+${REMOVE} ${ASSIM_CODE} \
+ ${BUILD_CODE} \
+ ${DOCUMENTATION} \
+ ${TEST_CODE} \
+ matlab/private \
+ observations/forward_operators \
+ observations/obs_converters
+
+echo "=================================================================="
+echo " Making Root Directories "
+echo "=================================================================="
+
+${SVN_MKDIR} assimilation_code
+${SVN_MV} mkmf build_templates
+${SVN_MKDIR} documentation
+${SVN_MKDIR} developer_tests
+#${SVN_MKDIR} diagnostics
+#${SVN_MKDIR} models
+#${SVN_MKDIR} observations
+
+echo "=================================================================="
+echo " Filling 'developer_tests/' directory "
+echo "=================================================================="
+
+set DEVELOPER_DIR = "developer_tests"
+
+${SVN_MKDIR} $DEVELOPER_DIR/forward_operators
+${SVN_MV} obs_def/test/* $DEVELOPER_DIR/forward_operators
+
+${SVN_MV} harnesses $DEVELOPER_DIR
+
+${SVN_MKDIR} $DEVELOPER_DIR/io
+${SVN_MV} io/test/work $DEVELOPER_DIR/io
+${SVN_MV} io/test/test_* $DEVELOPER_DIR/io
+${SVN_MV} io/test/model_mod.f90 $DEVELOPER_DIR/io
+
+set SUB_DIR = "$DEVELOPER_DIR/location"
+${SVN_MKDIR} $SUB_DIR
+${SVN_MV} location/location_test* $SUB_DIR
+${SVN_MV} location/testall.csh $SUB_DIR
+
+${SVN_MKDIR} $SUB_DIR/annulus
+${SVN_MV} location/annulus/test $SUB_DIR/annulus
+${SVN_MKDIR} $SUB_DIR/channel
+${SVN_MV} location/channel/test $SUB_DIR/channel
More information about the Dart-dev
mailing list