summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2007-04-06 23:42:34 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2007-04-06 23:42:34 (GMT)
commitb5ce2817039c9bc7533895b4b74f00724c89d6bc (patch)
tree2b841901068c84a6547c21a9ee5c7e2736444541
parent265ec07488535b7b44018543ec2ddce0810970d6 (diff)
downloadhdf5-b5ce2817039c9bc7533895b4b74f00724c89d6bc.zip
hdf5-b5ce2817039c9bc7533895b4b74f00724c89d6bc.tar.gz
hdf5-b5ce2817039c9bc7533895b4b74f00724c89d6bc.tar.bz2
[svn-r13607] Purpose:
add feature. Desscription: Changed it to use h5pfc when it is in parallel mode. Tested: kagiso(pp).
-rwxr-xr-xfortran/examples/testh5fc.sh.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/fortran/examples/testh5fc.sh.in b/fortran/examples/testh5fc.sh.in
index 28eed2b..8a627d7 100755
--- a/fortran/examples/testh5fc.sh.in
+++ b/fortran/examples/testh5fc.sh.in
@@ -21,8 +21,13 @@
# Where the tool is installed.
prefix="@prefix@"
-H5TOOL="h5fc" # The tool name
-H5TOOL_BIN="${prefix}/bin/h5fc -show" # The path of the tool binary
+PARALLEL=@PARALLEL@ # Am I in parallel mode?
+if [ "$PARALLEL" = no ]; then
+ H5TOOL="h5cc" # The tool name
+else
+ H5TOOL="h5pcc" # The tool name
+fi
+H5TOOL_BIN="${prefix}/bin/${H5TOOL} -show" # The path of the tool binary
CMP='cmp -s'
DIFF='diff -c'