Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jul 27, 2019
1 parent 7dd23b6 commit 6d92938
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/fncint/tst_c_pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define NDIM3 3
#define LLEN 4
#define MPI_ERR 999
#define NTASKS4 4

int
main(int argc, char **argv)
Expand All @@ -37,6 +38,9 @@ main(int argc, char **argv)
return MPI_ERR;
if (MPI_Comm_size(MPI_COMM_WORLD, &ntasks))
return MPI_ERR;
/* Must run on 4 tasks only. */
if (ntasks != NTASKS4)
return MPI_ERR;

if (!my_rank)
{
Expand All @@ -57,7 +61,7 @@ main(int argc, char **argv)
int i;
int ret;

PIOc_set_log_level(3);
/* PIOc_set_log_level(3); */

/* Initialize local data. */
for (i = 0; i < LLEN; i++)
Expand Down

0 comments on commit 6d92938

Please sign in to comment.