summaryrefslogtreecommitdiffstats
path: root/examples/Makefile.in
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-04-24 20:06:02 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-04-24 20:06:02 (GMT)
commitdedcd52bbbbf2594d61bfc198a69abbe0bba8cad (patch)
treefc7602f13006cd72001220c27633fdef358ab003 /examples/Makefile.in
parent3cd2537c605baf36d288c0917a453f1fcf03d794 (diff)
downloadhdf5-dedcd52bbbbf2594d61bfc198a69abbe0bba8cad.zip
hdf5-dedcd52bbbbf2594d61bfc198a69abbe0bba8cad.tar.gz
hdf5-dedcd52bbbbf2594d61bfc198a69abbe0bba8cad.tar.bz2
[svn-r3842] Purpose:
New feature Description: Added a parallel HDF5 example. make check knows how to run it in serial mode but not in parallel mode since the current makefile has no provision for parallel code execution. One would have to do it by hand (e.g., mpirun -np 2 ./ph4example) Platforms tested: modi4 (serial and parallel)
Diffstat (limited to 'examples/Makefile.in')
-rw-r--r--examples/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/Makefile.in b/examples/Makefile.in
index fa5d93b..b36f86a 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -16,7 +16,8 @@ LIBHDF5=../src/libhdf5.la
## These are the programs that `make all' or `make tests' will build and which
## `make check' will run. List them in the order they should be run.
TEST_PROGS= h5_write h5_read h5_extend_write h5_chunk_read h5_compound \
- h5_group h5_select h5_attribute h5_mount h5_reference
+ h5_group h5_select h5_attribute h5_mount h5_reference \
+ ph5example
## These are the files that `make clean' (and derivatives) will remove from
## this directory.
@@ -62,4 +63,8 @@ h5_mount: h5_mount.lo
h5_reference: h5_reference.lo
@$(LT_LINK_EXE) $(CFLAGS) -o $@ h5_reference.lo $(LIBHDF5) $(LDFLAGS) $(LIBS)
+
+ph5example: ph5example.lo
+ @$(LT_LINK_EXE) $(CFLAGS) -o $@ $@.lo $(LIBHDF5) $(LDFLAGS) $(LIBS)
+
@CONCLUDE@