From e49ac73ae6366ad8fd460223b2058f47e5f0b99a Mon Sep 17 00:00:00 2001 From: lanfer Date: Thu, 31 Aug 2000 09:58:38 +0000 Subject: 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 --- src/File.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/File.c b/src/File.c index 1f79218..01bef62 100644 --- a/src/File.c +++ b/src/File.c @@ -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); -- cgit v1.2.3