[ET Trac] [Einstein Toolkit] #2220: add option --nioprocs to CarpetIOHDF5

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Jan 18 08:36:51 CST 2019


#2220: add option --nioprocs to CarpetIOHDF5
---------------------------------+-----------------------------------
 Reporter:  Roland Haas          |       Type:  enhancement
   Status:  new                  |   Priority:  minor
Milestone:                       |  Component:  EinsteinToolkit thorn
  Version:  development version  |   Keywords:  CarpetIOHDF5
---------------------------------+-----------------------------------
 This lets one use hdf5_slicer to extract datasets from foo.file_0.h5 and
 foo.file_1.h5 into bar.file_0.h5 and bar.file_1.h5 and still be able to
 use them afterwards (useful eg to separate out files written with
 one_file_per_group, to extract only certain timesteps).

 Currently, one has to resort to the lower level hdf5_extract and write
 some shell code like this
 {{{
 for i in grid-coordinates.file*.h5 ; do
   for d in x y z ; do
     h5ls $i | gawk -vd=$d '{sub(" (Dataset|Group).*","");
       gsub("\\\\","");
       if(match($0,"GRID::"d) || /Parameters/) { print }}' >dsets.txt
     hdf5_extract dsets.txt $i $d.${i#*.}
   done
 done
 }}}
 to achieve this.

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


More information about the Trac mailing list