summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorPaul Harten <pharten@ncsa.uiuc.edu>1998-07-07 21:09:07 (GMT)
committerPaul Harten <pharten@ncsa.uiuc.edu>1998-07-07 21:09:07 (GMT)
commit1bdb53fb6a8aed417d6fdedb0f11b73d6afae5d5 (patch)
tree11e03a72937aca7d302d9354b22e16dba5765967 /testpar/testphdf5.c
parentbcf649388cb246fecf5bac670c54c7c4d654eb44 (diff)
downloadhdf5-1bdb53fb6a8aed417d6fdedb0f11b73d6afae5d5.zip
hdf5-1bdb53fb6a8aed417d6fdedb0f11b73d6afae5d5.tar.gz
hdf5-1bdb53fb6a8aed417d6fdedb0f11b73d6afae5d5.tar.bz2
[svn-r461] Purpose:
The purpose of the change is to correct the H5 filenames declared in testphdf5.c when used on the Intel TFLOP PFS system. Problem: The ROMIO library complains of the H5 filenames having no "piofs:", "pfs:", "ufs:", or "nfs:" prefixes on the filenames. The only type currently recognized are the "pfs:" prefixes, and the files must reside in the Intel TFLOP PFS system: /pfs. Solution: (REQUIRED) The compile flag -DPOOMA_ARCH=TFLOP is added to the list of CFLAGS in Makefile.ascired located in the parallel test directory. This compile flag will allow a special set of filenames to be used when compiling testphdf5.c on the Intel TFLOP. In addition, instructions to editing the filenames in testphdf5.c to reside in the user's own /pfs directory are included in INSTALL.ascired. Platform tested: Intel TFLOP
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 74252f1..65d08ea 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -106,10 +106,15 @@ parse_options(int argc, char **argv){
main(int argc, char **argv)
{
- char *filenames[]={ "ParaEg1.h5f",
- "ParaEg2.h5f",
- "ParaEg3.h5f"
- };
+#ifdef POOMA_ARCH
+ char *filenames[]={ "pfs:/pfs/multi/tmp_1/your_own/ParaEg1.h5f",
+ "pfs:/pfs/multi/tmp_1/your_own/ParaEg2.h5f",
+ "pfs:/pfs/multi/tmp_1/your_own/ParaEg3.h5f" };
+#else
+ char *filenames[]={ "ParaEg1.h5f",
+ "ParaEg2.h5f",
+ "ParaEg3.h5f" };
+#endif
int mpi_size, mpi_rank; /* mpi variables */