mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Added error message.
This commit is contained in:
parent
eac41c78fc
commit
9800478f04
@ -61,8 +61,11 @@ main(int argc, char **argv)
|
||||
mpi_size, mpi_rank);*/
|
||||
|
||||
/* This program must have exactly 4 processors. */
|
||||
if (mpi_size != 4)
|
||||
ERR;
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user