mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
Merge pull request #2323 from edwardhartnett/ejh_par_test
We are incorrectly running tst_parallel_zlib on 1 processor - it should only ever run on 4
This commit is contained in:
commit
8b1640a445
@ -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
|
||||
|
@ -60,6 +60,10 @@ 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)
|
||||
ERR;
|
||||
|
||||
#ifdef USE_MPE
|
||||
MPE_Init_log();
|
||||
s_init = MPE_Log_get_event_number();
|
||||
|
Loading…
Reference in New Issue
Block a user