[Dart-dev] DART/branches Revision: 11263

dart at ucar.edu dart at ucar.edu
Thu Mar 9 13:56:04 MST 2017


nancy at ucar.edu
2017-03-09 13:56:02 -0700 (Thu, 09 Mar 2017)
152
added log message about 'distribute_mean' namelist option,
with suggested content from tim about what impact it might
have on the time-space tradeoff.




Modified: DART/branches/rma_trunk/assim_tools/assim_tools_mod.f90
===================================================================
--- DART/branches/rma_trunk/assim_tools/assim_tools_mod.f90	2017-03-09 20:42:15 UTC (rev 11262)
+++ DART/branches/rma_trunk/assim_tools/assim_tools_mod.f90	2017-03-09 20:56:02 UTC (rev 11263)
@@ -299,6 +299,18 @@
    if(sampling_error_correction) then
       call error_handler(E_MSG,'assim_tools_init:', 'Using Sampling Error Correction')
    endif
+
+   if (task_count() > 1) then
+       if(distribute_mean) then
+          call error_handler(E_MSG,'assim_tools_init:', 'Distributing one copy of the ensemble mean across all tasks', &
+                             text2='(uses less memory per task but may run slower if doing vertical coordinate conversion,', &
+                             text3='controlled by namelist item "distribute_mean")')
+       else
+          call error_handler(E_MSG,'assim_tools_init:', 'Replicating a copy of the ensemble mean on every task', &
+                             text2='(uses more memory per task but may run faster if doing vertical coordinate conversion,', &
+                             text3='controlled by namelist item "distribute_mean")')
+       endif
+   endif
 endif
 
 end subroutine assim_tools_init


More information about the Dart-dev mailing list