summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/Makefile.ascired2
-rw-r--r--testpar/testphdf5.c13
2 files changed, 10 insertions, 5 deletions
diff --git a/testpar/Makefile.ascired b/testpar/Makefile.ascired
index 4906b87..e599602 100644
--- a/testpar/Makefile.ascired
+++ b/testpar/Makefile.ascired
@@ -21,7 +21,7 @@ LIBS = -lnoop_stubs
CC=cicc
# 1429 -- long long non-standard
-CFLAGS=-g
+CFLAGS=-g -DPOOMA_ARCH=TFLOP
CPPFLAGS=-I. -I../src $(MPI_INC) $(MPIO_INC)
RM=rm -f
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 */