diff options
Diffstat (limited to 'src/File.c')
-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); |