summaryrefslogtreecommitdiffstats
path: root/perform/sio_perf.c
diff options
context:
space:
mode:
authorChristian Chilan <chilan@hdfgroup.org>2008-08-29 21:31:04 (GMT)
committerChristian Chilan <chilan@hdfgroup.org>2008-08-29 21:31:04 (GMT)
commitc9af566e1d88896b58fb7be02385e63fc7932931 (patch)
treed9cb2924204553a444dd46f2a5fe413bc521cbaf /perform/sio_perf.c
parent84335f79c6a6e69d4f2f7208592fb3b64e02cf3f (diff)
downloadhdf5-c9af566e1d88896b58fb7be02385e63fc7932931.zip
hdf5-c9af566e1d88896b58fb7be02385e63fc7932931.tar.gz
hdf5-c9af566e1d88896b58fb7be02385e63fc7932931.tar.bz2
[svn-r15562] Added support for serial prefix HDF5_PREFIX.
Tested on kagiso, smirom, and linew.
Diffstat (limited to 'perform/sio_perf.c')
-rw-r--r--perform/sio_perf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/perform/sio_perf.c b/perform/sio_perf.c
index a83e4ab..389d6f0 100644
--- a/perform/sio_perf.c
+++ b/perform/sio_perf.c
@@ -919,6 +919,14 @@ report_parameters(struct options *opts)
HDfprintf(output, "direct\n");
}
}
+
+ {
+ char *prefix = getenv("HDF5_PREFIX");
+
+ HDfprintf(output, "Env HDF5_PREFIX=%s\n",
+ (prefix ? prefix : "not set"));
+ }
+
HDfprintf(output, "==== End of Parameters ====\n");
HDfprintf(output, "\n");
}
@@ -1408,6 +1416,7 @@ usage(const char *prog)
printf("\n");
printf(" Environment variables:\n");
printf(" HDF5_NOCLEANUP Do not remove data files if set [default remove]\n");
+ printf(" HDF5_PREFIX Data file prefix\n");
printf("\n");
fflush(stdout);
}