[ET Trac] [Einstein Toolkit] #1768: Output of distrib=constant arrays

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Apr 27 09:12:17 CDT 2015


#1768: Output of distrib=constant arrays
-------------------------+--------------------------------------------------
 Reporter:  hinder       |       Owner:  eschnett           
     Type:  enhancement  |      Status:  new                
 Priority:  minor        |   Milestone:                     
Component:  Carpet       |     Version:  development version
 Keywords:               |  
-------------------------+--------------------------------------------------
 I have a Cactus array with size=1 and distrib=constant.  I would like to
 see its value on all processes.  According to
 http://cactuscode.org/pipermail/users/2014-March/003421.html, it has been
 observed that CarpetIOASCII (and CarpetIOHDF5) only output the data from
 process 0, whereas IOASCII outputs the data from all processes.  The
 reason I need this is that I want to see the system swap usage on each
 process stored in SystemStatistics::process_memory_mb.  The data is
 legitimately different on each process.
 {{{
 REAL process_memory_mb TYPE=array DIM=1 SIZE=1 DISTRIB=constant
 TAGS='Checkpoint="no"'
 }}}

 How hard would it be to add support to CarpetIOASCII for outputting grid
 array data from all processes for distrib-constant arrays? It already does
 this for distrib=default.

 To use the current functionality, one way would be to increase the size of
 the array and then write code to replicate the data between processes.
 However, I don't think there is any way to specify that the array should
 have size=NPROCS, so you would have to specify this using a parameter, and
 this is a lot of work for something which would more naturally be done in
 CarpetIOASCII.

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


More information about the Trac mailing list