[ET Trac] [Einstein Toolkit] #1448: move PARAMCHECK before WRAGH

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Oct 7 19:12:38 CDT 2013


#1448: move PARAMCHECK before WRAGH
--------------------+-------------------------------------------------------
 Reporter:  rhaas   |       Owner:                     
     Type:  defect  |      Status:  new                
 Priority:  minor   |   Milestone:                     
Component:  Cactus  |     Version:  development version
 Keywords:          |  
--------------------+-------------------------------------------------------
 currently PARAMCHECK runs after WRAGH which means that the lev0 data and
 grid arrays as well as grid scalars have storage (but the grid is not yet
 set up properly since basegrid did not yet run).

 This means that memory to hold level 0 has been allocated which can be
 quite large (eg for mulitpach runs where level 0 encompases all multipatch
 grids). Therefore using cactus_sim -P parfile.par to test parameters and
 parameter values before submitting a job (which is good practise) can
 potentially cripple the head node on which one tries this.

 Would it be possible to to swap the order (and make sure to call
 CCTKi_FinaliseParamWarn right after PARAMCHECK) or is do we require that
 storage exists during PARAMCHECK?

 For the code that provides the current ordering, see CallSetup in
 Carpet/src/Initialise.cc and src/main/CactusDefaultInitialise.c (in the
 flesh).

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1448>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list