diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2002-02-14 15:51:12 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2002-02-14 15:51:12 (GMT) |
commit | a1c37b6eb8c01cd87a1c442da76172e51da05b79 (patch) | |
tree | fd7886b4e69f8ae64ce084a8e136594ae2447f94 /perform/pio_perf.h | |
parent | 530133a9f4ae32fe26acf981209f018f9492c35a (diff) | |
download | hdf5-a1c37b6eb8c01cd87a1c442da76172e51da05b79.zip hdf5-a1c37b6eb8c01cd87a1c442da76172e51da05b79.tar.gz hdf5-a1c37b6eb8c01cd87a1c442da76172e51da05b79.tar.bz2 |
[svn-r4964] Purpose:
Change default actions.
Description:
Change the default maximum number of processes (-P) to use all processes
instead of just 1 (old default). Someone most likely wants to test
the I/O performance with all processes involved.
Also starts performance measurement with maximum number of processes
and decrement it with each loop. If the performance measurement
needs to restart, it can run with fewer processes if those loops
have completed.
Platforms tested:
modi4 and eirene.
Diffstat (limited to 'perform/pio_perf.h')
-rw-r--r-- | perform/pio_perf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perform/pio_perf.h b/perform/pio_perf.h index cf84f55..3c60756 100644 --- a/perform/pio_perf.h +++ b/perform/pio_perf.h @@ -39,6 +39,8 @@ typedef struct results_ { #define FAIL -1 #endif /* !FAIL */ +extern int comm_world_rank_g; /* my rank in MPI_COMM_RANK */ +extern int comm_world_nprocs_g;/* num. of processes of MPI_COMM_WORLD */ extern MPI_Comm pio_comm_g; /* Communicator to run the PIO */ extern int pio_mpi_rank_g; /* MPI rank of pio_comm_g */ extern int pio_mpi_nprocs_g; /* number of processes of pio_comm_g */ |