From d5587a472bea95651f8e50539548321f0f98bdf4 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 7 Dec 1999 17:41:23 -0500 Subject: [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. --- testpar/testphdf5.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 */ -- cgit v0.12