[mvapich-discuss] Small problem with mvapich-0.9.8 and sharedlibs
(libpmpich++.so)
Bas van der Vlies
basv at sara.nl
Mon Oct 23 10:22:26 EDT 2006
With --enable-sharedlib flag only the static version of libpmpich is
build. My patch was to adjust the Makefile.in:
Here is the patch:
--- Makefile.in.org 2006-03-12 23:26:08.000000000 +0100
+++ Makefile.in 2006-10-23 16:15:18.658753430 +0200
@@ -18,6 +18,7 @@
NOMPE = @NOMPE@
MPILIBNAME = @MPILIBNAME@
FMPILIBNAME = f at MPILIBNAME@
+PMPILIBNAMECXX = p at MPILIBNAME@++
AR = @AR@
ARCMD = @ARNAME@
@@ -193,7 +194,7 @@
@-( cd $(libbuild_dir) && \
CC="$(CC)" ; export CC ; CLINKER="@CLINKER@" ; export CLINKER ; \
for lib in lib${MPILIBNAME}.a libp${MPILIBNAME}.a \
- lib${FMPILIBNAME}.a ; do \
+ lib${FMPILIBNAME}.a lib${PMPILIBNAMECXX}.a; do \
if [ -s $$lib ] ; then \
${top_srcdir}/util/makesharedlib -exceptobjs="farg.o
farg90.o initf.o" -lib=$$lib -kind=@SHAREDKIND@ ; \
fi ; \
--
--
********************************************************************
* *
* Bas van der Vlies e-mail: basv at sara.nl *
* SARA - Academic Computing Services phone: +31 20 592 8012 *
* Kruislaan 415 fax: +31 20 6683167 *
* 1098 SJ Amsterdam *
* *
********************************************************************
More information about the mvapich-discuss
mailing list