[Dart-dev] [4347] DART/trunk/models/POP/shell_scripts/assimilate.csh: This version is the tested implementation of the 'distributed'
nancy at ucar.edu
nancy at ucar.edu
Tue Apr 13 11:37:02 MDT 2010
Revision: 4347
Author: thoar
Date: 2010-04-13 11:37:02 -0600 (Tue, 13 Apr 2010)
Log Message:
-----------
This version is the tested implementation of the 'distributed'
pop_to_dart and dart_to_pop conversions. They are all run in
the background and progress is controlled with a simple unix 'wait'.
Because each of the conversions happens in its own directory,
a few changes had to be added to let 'filter' work - the remnant
pop_in and pop.r.nc files (previously from pop_to_dart) had to
linked in the assimilation directory.
With 48 members - running on one node - it cuts about 8 minutes
off the execution time - not bad.
Modified Paths:
--------------
DART/trunk/models/POP/shell_scripts/assimilate.csh
-------------- next part --------------
Modified: DART/trunk/models/POP/shell_scripts/assimilate.csh
===================================================================
--- DART/trunk/models/POP/shell_scripts/assimilate.csh 2010-04-08 21:49:55 UTC (rev 4346)
+++ DART/trunk/models/POP/shell_scripts/assimilate.csh 2010-04-13 17:37:02 UTC (rev 4347)
@@ -6,6 +6,8 @@
#
# $Id$
+# The FORCE options are not optional.
+# the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -181,12 +183,18 @@
#
#-------------------------------------------------------------------------
+# POP always needs a pop_in and a pop.r.nc to start.
+
+set OCN_RESTART_FILENAME = `head -1 ../rpointer.ocn.1.restart`
+${LINK} ../$OCN_RESTART_FILENAME pop.r.nc
+${LINK} ../pop2_in.1 pop_in
+
# Determine proper observation sequence file.
set OBSFNAME = `printf obs_seq.0Z.%04d%02d%02d ${OCN_YEAR} ${OCN_MONTH} ${OCN_DAY}`
set OBS_FILE = ${OBSDIR}/${OBSFNAME}
-${LINK} ${OBS_FILE} obs_seq.out
+${LINK} ${OBS_FILE} obs_seq.out
# FIXME: special for trying out non-monotonic task layouts.
setenv ORG_PATH "${PATH}"
More information about the Dart-dev
mailing list