diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-05-05 20:48:33 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-05-05 20:48:33 (GMT) |
commit | c12f91908be82a3864fbbe23ff48a8a8abe629d4 (patch) | |
tree | ba68b0c811b473b1ed9543ee947d9da0f5c12e7e /testpar/t_file.c | |
parent | f69ae67faa5fd78196f5afd417090c7440781687 (diff) | |
download | hdf5-c12f91908be82a3864fbbe23ff48a8a8abe629d4.zip hdf5-c12f91908be82a3864fbbe23ff48a8a8abe629d4.tar.gz hdf5-c12f91908be82a3864fbbe23ff48a8a8abe629d4.tar.bz2 |
[svn-r6795] Purpose:
Feature Add
Description:
Added knob so that the programmer can enable or disable GPFS
hints during runtime instead of having it only enabled at
configure/compile time. Some of the public APIs were changed
to add an extra parameter for this option...
Platforms tested:
Blue (LLNL). It only affects the MPI/POSIX driver, so no need
to test it on non-GPFS platforms.
Misc. update:
Diffstat (limited to 'testpar/t_file.c')
-rw-r--r-- | testpar/t_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testpar/t_file.c b/testpar/t_file.c index 375c292..a5cb85b 100644 --- a/testpar/t_file.c +++ b/testpar/t_file.c @@ -41,6 +41,7 @@ test_split_comm_access(char *filename) int newrank, newprocs; hid_t fid; /* file IDs */ hid_t acc_tpl; /* File access properties */ + hbool_t use_gpfs = FALSE; /* Use GPFS hints */ herr_t ret; /* generic return value */ if (verbose) @@ -66,7 +67,7 @@ test_split_comm_access(char *filename) MPI_Comm_rank(comm,&sub_mpi_rank); /* setup file access template */ - acc_tpl = create_faccess_plist(comm, info, facc_type); + acc_tpl = create_faccess_plist(comm, info, facc_type, use_gpfs); VRFY((acc_tpl >= 0), ""); /* create the file collectively */ |