From 112fb8d45cd57dd54d8ede466f168941dcf3c352 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 25 Apr 2002 09:48:52 -0500 Subject: [svn-r5257] Purpose: Bug fix Description: $(LT_RUN) was used to execute ./H5detect in src/Makefile.in. $RUNTEST was set to $(LT_RUN) which was used to execute sequential executable. $(LT_RUN) is "../libtool --mode=execute". But libtool invokes some commands that are not supported in the Tflops machine. That caused failures during the build and check processes. Solution: Upon investigation, there does not seem to be need to use $(LT_RUN) any more. The "libtool --mode=link" now generates a "fake" executable that is actually a command-script file that can regenerate the real executable with dynamic libraries hooks setup properly. Undo all those $LT_RUN substitute and let $RUNSERIAL execute those sequential executables. Platforms tested: Eirene(serial), modi4(parallel) --- src/Makefile.in | 2 +- test/Makefile.in | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 0ddf0f9..8875f15 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -57,7 +57,7 @@ PRIVATE_HDR=H5private.h H5Aprivate.h H5Apkg.h H5ACprivate.h H5Bprivate.h \ H5Tinit.c: H5detect LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ sed -e 's/-L/:/g' -e 's/ //g'`" \ - $(LT_RUN) ./H5detect >H5Tinit.c + $(RUNSERIAL) ./H5detect >H5Tinit.c ## no $(LIB) in the action below since that's being made now. H5detect: H5detect.lo diff --git a/test/Makefile.in b/test/Makefile.in index 5707005..b8c6b71 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -16,8 +16,6 @@ CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@ ## These are our main targets. They should be listed in the order to be ## executed, generally most specific tests to least specific tests. -RUNTEST=$(LT_RUN) - TEST_PROGS=testhdf5 lheap ohdr stab gheap hyperslab istore bittests dtypes \ dsets cmpd_dset extend external links unlink big mtime fillval mount \ flush1 flush2 enum gass_write gass_read gass_append set_extent \ -- cgit v0.12