summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:18:47 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:18:47 (GMT)
commitdf5ca0fa1d78779cfdc23ace1919c6ff8828222d (patch)
tree6cab126644093f122511c248ceead1c9d6318d7b /testpar
parent3fcef502ea6188b243b1907d04e4cbe9d351bd8a (diff)
downloadhdf5-df5ca0fa1d78779cfdc23ace1919c6ff8828222d.zip
hdf5-df5ca0fa1d78779cfdc23ace1919c6ff8828222d.tar.gz
hdf5-df5ca0fa1d78779cfdc23ace1919c6ff8828222d.tar.bz2
[svn-r7002] Purpose:
Code cleanup Description: Clean up warnings about unused stuff... Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_mdset.c11
-rw-r--r--testpar/t_ph5basic.c1
2 files changed, 5 insertions, 7 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c
index 9d32cb5..b8bf4b6 100644
--- a/testpar/t_mdset.c
+++ b/testpar/t_mdset.c
@@ -26,7 +26,7 @@ void write_dataset(hid_t, hid_t, hid_t);
int read_dataset(hid_t, hid_t, hid_t);
void create_group_recursive(hid_t, hid_t, hid_t, int);
void recursive_read_group(hid_t, hid_t, hid_t, int);
-void group_dataset_read(hid_t fid, int mpi_rank, int mpi_size, int m);
+void group_dataset_read(hid_t fid, int mpi_rank, int m);
void write_attribute(hid_t, int, int);
int read_attribute(hid_t, int, int);
int check_value(DATATYPE *, DATATYPE *);
@@ -295,12 +295,11 @@ void collective_group_write(char *filename, int ngroups)
*/
void independent_group_read(char *filename, int ngroups)
{
- int mpi_rank, mpi_size, m;
+ int mpi_rank, m;
hid_t plist, fid;
hbool_t use_gpfs = FALSE;
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
- MPI_Comm_size(MPI_COMM_WORLD, &mpi_size);
plist = create_faccess_plist(MPI_COMM_WORLD, MPI_INFO_NULL, facc_type, use_gpfs);
fid = H5Fopen(filename, H5F_ACC_RDONLY, plist);
@@ -311,17 +310,17 @@ void independent_group_read(char *filename, int ngroups)
* from the beginning. */
if(mpi_rank%2==0) {
for(m=ngroups-1; m==0; m-=2)
- group_dataset_read(fid, mpi_rank, mpi_size, m);
+ group_dataset_read(fid, mpi_rank, m);
} else {
for(m=0; m<ngroups; m+=2)
- group_dataset_read(fid, mpi_rank, mpi_size, m);
+ group_dataset_read(fid, mpi_rank, m);
}
H5Fclose(fid);
}
/* Open and read datasets and compare data */
-void group_dataset_read(hid_t fid, int mpi_rank, int mpi_size, int m)
+void group_dataset_read(hid_t fid, int mpi_rank, int m)
{
int ret, i, j;
char gname[64], dname[32];
diff --git a/testpar/t_ph5basic.c b/testpar/t_ph5basic.c
index 206ac0b..eb0048b 100644
--- a/testpar/t_ph5basic.c
+++ b/testpar/t_ph5basic.c
@@ -221,7 +221,6 @@ test_fapl_mpiposix_dup(void)
hid_t acc_pl; /* File access properties */
hbool_t use_gpfs = FALSE;
herr_t ret; /* hdf5 return value */
- int nkeys, nkeys_tmp;
if (verbose)
printf("Verify fapl_mpiposix duplicates communicator object\n");