diff options
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r-- | testpar/testphdf5.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h index 939cf19..9c89408 100644 --- a/testpar/testphdf5.h +++ b/testpar/testphdf5.h @@ -27,8 +27,8 @@ H5Eprint (stdout); \ fflush(stdout); \ if (!verbose){ \ - MPI_Finalize(); \ - exit(nerrors); \ + printf("aborting MPI process\n"); \ + MPI_Abort(MPI_COMM_WORLD, nerrors); \ } \ } \ H5Eclear(); \ @@ -56,6 +56,8 @@ /* hyperslab layout styles */ #define BYROW 1 /* divide into slabs of rows */ #define BYCOL 2 /* divide into blocks of columns */ +#define ZROW 3 /* same as BYCOL except process 0 gets 0 rows */ +#define ZCOL 4 /* same as BYCOL except process 0 gets 0 columns */ /* dataset data type. Int's can be easily octo dumped. */ |