On 16/03/08 20:37 -0600, Brian Barrett wrote:
> On Mar 13, 2008, at 9:54 PM, Justin Bronder wrote:
>
>> Well, I probably should have included this instead. This comes from the
>> single line added to share/libmpi/Makefile.am
>
> Ok, that makes more sense :). Attached is the patch I committed to both
> the trunk and 7.1.x branch for LAM. I think it's essentially the same as
> the three patches you mentioned. It cured all --as-needed problems I
> experienced on my recent Debian machine. Of course, I make no promises of
> there ever being another LAM release, but if there is, this patch will be
> included.
>
Sorry for a very belated reply, but I just ran into this while testing the
beta release. The patch you committed does indeed fix the as-needed issues,
however it's causing lam-mpi to die when utilizing parallel make. I had
actually hit this issue previously, and only by building libmpi and
liblamf77mpi in different directories was I able to avoid it. I'm no expert
with autotools, so I make no claims that this is either correct or the best
fix, it's merely what worked for me.
I'll supply more information if required, but basically all I'm doing is
configure && make -j5. Below is the relevant error:
creating liblam.la
(cd .libs && rm -f liblam.la && ln -s ../liblam.la liblam.la)
make[2]: Leaving directory
`/var/tmp/portage/mpi-lam/lam-mpi-7.1.5_beta1/work/lam-7.1.5b1/share/liblam'
Making all in libmpi
make[2]: Entering directory
`/var/tmp/portage/mpi-lam/lam-mpi-7.1.5_beta1/work/lam-7.1.5b1/share/libmpi'
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2
-pipe -march=nocona -pthread -export-dynamic -o libmpi.la -rpath
/usr/lib64/mpi/mpi-lam/usr/lib64 ../../share/mpi/libmpi.la
../../share/mpi/libmpiextra.la ../../share/ssi/libssi_mpi.la
../../share/memory/libmemory.la ../../share/pmpi/libpmpi.la
../../share/liblam/liblam.la
make[2]: *** No rule to make target `../../share/libmpi/libmpi.la', needed by
`liblamf77mpi.la'. Stop.
make[2]: *** Waiting for unfinished jobs....
I've attached a patch against 7.1.5b1.
Thanks for your patience :)
--
Justin Bronder
- application/pgp-signature attachment: stored
|