Merge remote-tracking branch 'Unidata/main'

This commit is contained in:
Dennis Heimbigner 2022-05-02 12:57:15 -06:00
commit 663c17ce26
2 changed files with 7 additions and 1 deletions

View File

@ -52,7 +52,6 @@ echo "Parallel I/O test for Collective I/O, contributed by HDF Group."
if test "@HAS_PAR_FILTERS@" = "yes"; then
echo
echo "Parallel I/O test with zlib."
@MPIEXEC@ -n 1 ./tst_parallel_zlib
@MPIEXEC@ -n 4 ./tst_parallel_zlib
echo

View File

@ -60,6 +60,13 @@ main(int argc, char **argv)
/*printf("mpi_name: %s size: %d rank: %d\n", mpi_name,
mpi_size, mpi_rank);*/
/* This program must have exactly 4 processors. */
if (mpi_size != 4) {
printf("Error: mpi_size must be 4 with this test. mpi_size: %d used.\n",
mpi_size);
ERR;
}
#ifdef USE_MPE
MPE_Init_log();
s_init = MPE_Log_get_event_number();