[Dart-dev] [6025] DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh : This is a bit more flexible in that it provides SOME (untested) support
nancy at ucar.edu
nancy at ucar.edu
Mon Apr 1 10:47:08 MDT 2013
Revision: 6025
Author: thoar
Date: 2013-04-01 10:47:06 -0600 (Mon, 01 Apr 2013)
Log Message:
-----------
This is a bit more flexible in that it provides SOME (untested) support
for an ensemble size other than 4. It also requires that
perfect_model_obs exists and is copied to the EXEROOT directory.
Modified Paths:
--------------
DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh
-------------- next part --------------
Modified: DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh
===================================================================
--- DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh 2013-03-26 19:19:31 UTC (rev 6024)
+++ DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh 2013-04-01 16:47:06 UTC (rev 6025)
@@ -204,14 +204,34 @@
endif
end
-@ cpl_pes = $ptile
-@ atm_pes = $ptile * $num_instances
-@ ice_pes = $ptile
-@ lnd_pes = $ptile * $num_instances
-@ rof_pes = $ptile * $num_instances
-@ glc_pes = $ptile
-@ ocn_pes = $ptile
+if ($num_instances == 4) then
+ # This is only for the purpose of debugging the code.
+ # A more efficient layout must be done when running a full assimilation.
+
+ @ cpl_pes = $ptile
+ @ atm_pes = $ptile * $num_instances
+ @ ice_pes = $ptile
+ @ lnd_pes = $ptile * $num_instances
+ @ rof_pes = $ptile * $num_instances
+ @ glc_pes = $ptile
+ @ ocn_pes = $ptile
+
+else
+
+ # layout for 30 members.
+ # Made in conjunction with Mike Levy, David Bailey and Jim Edwards.
+
+ @ cpl_pes = 450
+ @ atm_pes = 450
+ @ ice_pes = 450
+ @ lnd_pes = 450
+ @ rof_pes = 450
+ @ glc_pes = 450
+ @ ocn_pes = 1800
+
+endif
+
echo "task layout"
echo ""
echo "CPL gets $cpl_pes"
@@ -635,7 +655,7 @@
# Stage the DART executables in the CESM execution root directory: EXEROOT
# ==============================================================================
-foreach FILE ( filter clm_to_dart dart_to_clm )
+foreach FILE ( perfect_model_obs filter clm_to_dart dart_to_clm )
${COPY} ${DARTroot}/models/clm/work/${FILE} ${exeroot}/
if ( $status != 0 ) then
echo "ERROR: ${DARTroot}/models/clm/work/${FILE} not copied to ${exeroot}"
More information about the Dart-dev
mailing list