From 732bb9f065b04396254b8a5cd56d38139c2926a8 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 30 Jun 2003 18:38:36 -0500 Subject: [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: --- perform/pio_engine.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- cgit v0.12