diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2002-07-01 17:00:45 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2002-07-01 17:00:45 (GMT) |
commit | b9b0c7e6f916f82386e4eda5566b5a4b6138e9a4 (patch) | |
tree | d300607645d790ddd8659d35411435b79e982d25 | |
parent | 3a0bc9b8b5b1fd81c4a15421c0816806b23919ad (diff) | |
download | hdf5-b9b0c7e6f916f82386e4eda5566b5a4b6138e9a4.zip hdf5-b9b0c7e6f916f82386e4eda5566b5a4b6138e9a4.tar.gz hdf5-b9b0c7e6f916f82386e4eda5566b5a4b6138e9a4.tar.bz2 |
[svn-r5734] Description:
The nerror needed a (long_long) cast in order to print correctly
by HDfprintf.
Also block off the compiling of the gpfs stubs since they are not
used yet. This eliminated some compiler warnings of defined but not
used routines.
Platforms tested:
modi4, eirene, burrwhite.
-rw-r--r-- | perform/pio_engine.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c index 14191a4..b43cf39 100644 --- a/perform/pio_engine.c +++ b/perform/pio_engine.c @@ -129,6 +129,7 @@ static herr_t do_fopen(parameters *param, char *fname, file_descr *fd /*out*/, static herr_t do_fclose(iotype iot, file_descr *fd); static void do_cleanupfile(iotype iot, char *fname); +#ifdef H5_HAVE_GPFS /* GPFS-specific functions */ static void access_range(int handle, off_t start, off_t length, int is_write); static void free_range(int handle, off_t start, off_t length); @@ -137,6 +138,7 @@ static void cancel_hints(int handle); static void start_data_shipping(int handle, int num_insts); static void stop_data_shipping(int handle); static void invalidate_file_cache(const char *filename); +#endif /* * Function: do_pio @@ -1295,7 +1297,7 @@ do_read(results *res, file_descr *fd, parameters *parms, long ndsets, HDprint_rank(output); HDfprintf(output, "..."); HDfprintf(output, "total read data errors=%Hd\n", - nerror); + (long_long)nerror); } } /* if (parms->verify) */ @@ -1864,6 +1866,8 @@ invalidate_file_cache(const char *filename) #else +/* turn the stubs off since some compilers are warning they are not used */ +#if 0 /* H5_HAVE_GPFS isn't defined...stub functions */ static void @@ -1908,6 +1912,8 @@ invalidate_file_cache(const char UNUSED *filename) return; } +#endif /* 0 */ + #endif /* H5_HAVE_GPFS */ #ifdef TIME_MPI |