summaryrefslogtreecommitdiffstats
path: root/perform/pio_engine.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-06-30 23:38:36 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-06-30 23:38:36 (GMT)
commit732bb9f065b04396254b8a5cd56d38139c2926a8 (patch)
tree7fdd1bc5e93ebf8e6fd94b4b4612bd3f930d3040 /perform/pio_engine.c
parentcd46d0a7da7bb297befb95163e4bab7c4a4ba34f (diff)
downloadhdf5-732bb9f065b04396254b8a5cd56d38139c2926a8.zip
hdf5-732bb9f065b04396254b8a5cd56d38139c2926a8.tar.gz
hdf5-732bb9f065b04396254b8a5cd56d38139c2926a8.tar.bz2
[svn-r7128] Purpose:
feature change, new feature. Description: Had the HDF5_PARAPREFIX default set to /tmp. Changed it to null so that data files are created in current directory by default. Also added a code to print data filename used when debug level > 0. Platforms tested: Tested in modi4 parallel. Misc. update:
Diffstat (limited to 'perform/pio_engine.c')
-rw-r--r--perform/pio_engine.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c
index ff39399..74e5f02 100644
--- a/perform/pio_engine.c
+++ b/perform/pio_engine.c
@@ -102,7 +102,7 @@ static int clean_file_g = -1; /*whether to cleanup temporary test */
/* For the PFS of TFLOPS */
# define HDF5_PARAPREFIX "pfs:/pfs_grande/multi/tmp_1"
# else
-# define HDF5_PARAPREFIX "/tmp"
+# define HDF5_PARAPREFIX ""
# endif /* __PUMAGON__ */
#endif /* !HDF5_PARAPREFIX */
@@ -279,6 +279,9 @@ do_pio(parameters param)
sprintf(base_name, "#pio_tmp_%lu", nf);
pio_create_filename(iot, base_name, fname, sizeof(fname));
+ if (pio_debug_level > 0)
+ HDfprintf(output, "rank %d: data filename=%s\n",
+ pio_mpi_rank_g, fname);
/* Need barrier to make sure everyone starts at the same time */
MPI_Barrier(pio_comm_g);