diff options
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_mpi.c | 4 | ||||
-rw-r--r-- | testpar/testphdf5.h | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c index d0e6b9d..02e406e 100644 --- a/testpar/t_mpi.c +++ b/testpar/t_mpi.c @@ -273,7 +273,7 @@ test_mpio_gb_file(char *filename) printf("proc %d: writing %d bytes at offset %lld\n", mpi_rank, MB, mpi_off); mrc = MPI_File_write_at(fh, mpi_off, buf, MB, MPI_BYTE, &mpi_stat); - INFO((mrc==MPI_SUCCESS), ""); + INFO((mrc==MPI_SUCCESS), "GB size file write"); if (mrc!=MPI_SUCCESS) writerrs++; } @@ -306,7 +306,7 @@ test_mpio_gb_file(char *filename) printf("proc %d: read from mpi_off=%016llx, %lld\n", mpi_rank, mpi_off, mpi_off); mrc = MPI_File_read_at(fh, mpi_off, buf, MB, MPI_BYTE, &mpi_stat); - INFO((mrc==MPI_SUCCESS), ""); + INFO((mrc==MPI_SUCCESS), "GB size file read"); expected = i*mpi_size + (mpi_size - mpi_rank - 1); vrfyerrs=0; for (j=0; j<MB; j++){ diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h index f990b28..fb613bf 100644 --- a/testpar/testphdf5.h +++ b/testpar/testphdf5.h @@ -23,7 +23,8 @@ } \ else{ \ printf("Proc %d: ", mpi_rank); \ - printf("*** PHDF5 Assertion failed (%s) at line %4d in %s\n", \ + printf("*** PHDF5 ERROR ***\n"); \ + printf(" Assertion (%s) failed at line %4d in %s\n", \ mesg, (int)__LINE__, __FILE__); \ nerrors++; \ fflush(stdout); \ @@ -48,7 +49,8 @@ } \ else{ \ printf("Proc %d: ", mpi_rank); \ - printf("*** PHDF5 Assertion failed (%s) at line %4d in %s\n", \ + printf("*** PHDF5 REMARK (not an error) ***\n"); \ + printf(" Condition (%s) failed at line %4d in %s\n", \ mesg, (int)__LINE__, __FILE__); \ fflush(stdout); \ } \ |