summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-02-12 05:03:49 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-02-12 05:03:49 (GMT)
commit1f339111efee7c7dc6dd6c38ec5942df0bf76527 (patch)
tree02b7c2734c5170e4c48debba499ca3bc90d65514
parent9ab525f8a4babdd2ff22ee72577997838476d275 (diff)
downloadhdf5-1f339111efee7c7dc6dd6c38ec5942df0bf76527.zip
hdf5-1f339111efee7c7dc6dd6c38ec5942df0bf76527.tar.gz
hdf5-1f339111efee7c7dc6dd6c38ec5942df0bf76527.tar.bz2
[svn-r258] Problem:
When configure with enable-paralle, H5detect and debug were not compiled with $(LIBS) but were executed via RUNTEST (mpirun ...). The O2K mpirun can't handle such an object code. Solutions: Compile them also with $(LIBS) which contains the mpi library names. Could have just removed $(RUNTEST) but in some parallel system, all object file may have to be launched by some mpirun-equivalent command anyway. Platforms tested: O2K
-rw-r--r--src/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 44fa037..6780aa1 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -49,10 +49,10 @@ H5Tinit.c: H5detect
$(RUNTEST) ./H5detect >H5Tinit.c
H5detect: H5detect.o
- $(CC) $(CFLAGS) -o $@ H5detect.o
+ $(CC) $(CFLAGS) -o $@ H5detect.o $(LIBS) # no $(LIB) which is being made
# How to build the programs...
debug: debug.o $(LIB)
- $(CC) $(CFLAGS) -o $@ debug.o $(LIB)
+ $(CC) $(CFLAGS) -o $@ debug.o $(LIB) $(LIBS)
@CONCLUDE@