diff options
author | lanfer <lanfer@4825ed28-b72c-4eae-9704-e50c059e567d> | 2000-08-31 09:58:38 +0000 |
---|---|---|
committer | lanfer <lanfer@4825ed28-b72c-4eae-9704-e50c059e567d> | 2000-08-31 09:58:38 +0000 |
commit | e49ac73ae6366ad8fd460223b2058f47e5f0b99a (patch) | |
tree | b96b033f2426156559439ef64a1a9676d45d11e8 /src | |
parent | 0d804465b6e5042e33cf179fec7edbf7b90656cf (diff) |
unckunked can only be applied to all slab dimension in the same manner. To support a more differentiated way depending on slab dimension, IOUtil needs to be expanded
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@8 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'src')
-rw-r--r-- | src/File.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -119,7 +119,7 @@ char *IOHDF5_Get_filename_ND (cGH *GH, int index, ioHDF5Geo_t *slab_geo, } - /* OUTPUT ONE FILE FOR EACH N PROCESSORS - only 3D + /* OUTPUT ONE FILE FOR EACH N PROCESSORS FIXME * ------------------------------------- * * If only one output file, the single file for each variable is written @@ -128,8 +128,7 @@ char *IOHDF5_Get_filename_ND (cGH *GH, int index, ioHDF5Geo_t *slab_geo, * files. */ - if (! ioUtilGH->unchunked && ioUtilGH->ioproc_every < CCTK_nProcs (GH) && - slab_geo->vdim==3) + if (! ioUtilGH->unchunked && ioUtilGH->ioproc_every < CCTK_nProcs (GH)) { /* Add the output processor number to the extra string */ sprintf (extra, "%s.file_%d", extra, myproc / ioUtilGH->ioproc_every); |