[mvapich-discuss] Small problem with mvapich-0.9.8 and sharedlibs

Dhabaleswar Panda panda at cse.ohio-state.edu
Mon Oct 23 18:11:14 EDT 2006


Hi Bas, 

Thanks for reporting this problem and sending us the patch!! We are
taking a look at it and will apply this patch to MVAPICH SVN.

Thanks, 

DK

> 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                                               *
> *                                                                  *
> ********************************************************************
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
> 



More information about the mvapich-discuss mailing list