summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_cache.c14
-rw-r--r--testpar/t_pflush1.c1
-rw-r--r--testpar/t_posix_compliant.c2
3 files changed, 9 insertions, 8 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index c5f8aae..dc047ed 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -1409,7 +1409,7 @@ serve_read_request(struct mssg_t * mssg_ptr)
success = FALSE;
if ( verbose ) {
HDfprintf(stdout,
- "%d:%s: data[i].len = %d != mssg->len = %d.\n",
+ "%d:%s: data[i].len = %Zu != mssg->len = %d.\n",
world_mpi_rank, fcn_name,
data[target_index].len, mssg_ptr->len);
}
@@ -1421,7 +1421,7 @@ serve_read_request(struct mssg_t * mssg_ptr)
HDfprintf(stdout,
"%d:%s: proc %d read invalid entry. idx/base_addr = %d/%a.\n",
world_mpi_rank, fcn_name,
- mssg_ptr->src, target_index,
+ mssg_ptr->src,
target_index,
data[target_index].base_addr);
}
@@ -1586,7 +1586,7 @@ serve_write_request(struct mssg_t * mssg_ptr)
success = FALSE;
if ( verbose ) {
HDfprintf(stdout,
- "%d:%s: data[i].len = %d != mssg->len = %d.\n",
+ "%d:%s: data[i].len = %Zu != mssg->len = %d.\n",
world_mpi_rank, fcn_name,
data[target_index].len, mssg_ptr->len);
}
@@ -3520,9 +3520,11 @@ setup_rand(void)
}
} else {
seed = (unsigned)tv.tv_usec;
- HDfprintf(stdout, "%d:%s: seed = %d.\n",
- world_mpi_rank, fcn_name, seed);
- fflush(stdout);
+ if ( verbose ) {
+ HDfprintf(stdout, "%d:%s: seed = %d.\n",
+ world_mpi_rank, fcn_name, seed);
+ fflush(stdout);
+ }
HDsrand(seed);
}
}
diff --git a/testpar/t_pflush1.c b/testpar/t_pflush1.c
index 8734bfb..e8f3f6c 100644
--- a/testpar/t_pflush1.c
+++ b/testpar/t_pflush1.c
@@ -121,7 +121,6 @@ int
main(int argc, char* argv[])
{
hid_t file1, file2, fapl;
- MPI_File mpifh=-2;
int *mpifh_p = NULL;
char name[1024];
const char *envval = NULL;
diff --git a/testpar/t_posix_compliant.c b/testpar/t_posix_compliant.c
index a4b8a86..3c7a2b3 100644
--- a/testpar/t_posix_compliant.c
+++ b/testpar/t_posix_compliant.c
@@ -725,7 +725,7 @@ static void vrfy_elements(int* a, int* b, int size, int rank)
/* print an explanation message by MAIN (0) process.
*/
-header_msg(void)
+void header_msg(void)
{
printf(
"Purpose:\n"