Added error message.

This commit is contained in:
Ward Fisher 2022-05-02 09:55:08 -06:00
parent eac41c78fc
commit 9800478f04

View File

@ -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();