diff options
Diffstat (limited to 'testpar/t_mpi.c')
-rw-r--r-- | testpar/t_mpi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c index 3758d75..8f6b55a 100644 --- a/testpar/t_mpi.c +++ b/testpar/t_mpi.c @@ -25,7 +25,6 @@ hid_t fapl; /* file access property list */ /* protocols */ static void test_mpio_overlap_writes(char *filename); -static void test_mpio_offset(void); static void test_mpio_gb_file(char *filename); static void test_mpio_gb_file(char *filename); static int parse_options(int argc, char **argv); @@ -137,7 +136,7 @@ test_mpio_overlap_writes(char *filename) if ((buf[i] != expected) && (vrfyerrs++ < MAX_ERR_REPORT || verbose)) printf("proc %d: found data error at [%ld], expect %d, got %d\n", - mpi_rank, mpi_off+i, expected, buf[i]); + mpi_rank, (long)(mpi_off+i), expected, buf[i]); } if (vrfyerrs > MAX_ERR_REPORT && !verbose) printf("proc %d: [more errors ...]\n", mpi_rank); @@ -332,7 +331,7 @@ test_mpio_gb_file(char *filename) if ((*(buf+j) != expected) && (vrfyerrs++ < MAX_ERR_REPORT || verbose)) printf("proc %d: found data error at [%ld+%d], expect %d, got %d\n", - mpi_rank, mpi_off, j, expected, *(buf+j)); + mpi_rank, (long)mpi_off, j, expected, *(buf+j)); } if (vrfyerrs > MAX_ERR_REPORT && !verbose) printf("proc %d: [more errors ...]\n", mpi_rank); |