From 1f339111efee7c7dc6dd6c38ec5942df0bf76527 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 12 Feb 1998 00:03:49 -0500 Subject: [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 --- src/Makefile.in | 4 ++-- 1 file 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@ -- cgit v0.12