summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-12-07 22:41:23 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-12-07 22:41:23 (GMT)
commitd5587a472bea95651f8e50539548321f0f98bdf4 (patch)
tree81cdd9bc1290e8ca0d2f76eb320b1cb2e5020f51 /testpar
parenta5a5519d02e6a5067616c79d6c38e606e36a95a6 (diff)
downloadhdf5-d5587a472bea95651f8e50539548321f0f98bdf4.zip
hdf5-d5587a472bea95651f8e50539548321f0f98bdf4.tar.gz
hdf5-d5587a472bea95651f8e50539548321f0f98bdf4.tar.bz2
[svn-r1858] Changed the default testfiles to be in /tmp instead of current directory.
Current directory in which the parallel code is compiled is usually not suitable for parallel I/O test.
Diffstat (limited to 'testpar')
-rw-r--r--testpar/testphdf5.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index f286dbd..9085f19 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -14,11 +14,15 @@ int chunkdim1;
int nerrors = 0; /* errors count */
int verbose = 0; /* verbose, default as no. */
+/* FilePrefix defines where the temporary parallel test files should be. */
+/* In a parallel system, filesystem suitable for compiling are unlikly */
+/* the right place for parallel I/O. There is no common used pathname */
+/* for the parallel file system. So, /tmp is used as the default. */
#ifdef __PUMAGON__
/* For the PFS of TFLOPS */
char *fileprefix = "pfs:/pfs_grande/multi/tmp_1/";
#else
-char *fileprefix = NULL; /* file prefix, default as NULL */
+char *fileprefix = "/tmp/";
#endif
size_t fileprefixlen; /* file prefix length */