LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2006-05-03 02:41:18


Hi John,

* John Lau wrote on Wed, May 03, 2006 at 08:26:39AM CEST:
>
> I try to compile LAM 7.1.2 with PGI 6.0 compiler.

Which exact version? If 6.0, then consider updating to one of the
bugfix releases.

> I know the developers
> have added PGI support in the libtool. It works for most part of LAM but
> I find it failed on share/ssi/rpi/gm.

> Here is the error:
>
> pgcc -shared --whole-archive src/.libs/libgm.a --no-whole-archive
> --rpath /usr/src/redhat/BUILD/lam-7.1.2-1chess/pgi60/share/libmpi/.libs
> --rpath /usr/src/redhat/BUILD/lam-7.1.2-1chess/pgi60/share/liblam/.libs
> --rpath /usr/chess/gm/lib64 --rpath /usr/chess/lam-pgi60-7.1.2/lib64
> --rpath /usr/chess/gm/lib64 -L/usr/chess/gm/lib64
> ./../../../../share/libmpi/.libs/libmpi.so
> ./../../../../share/liblam/.libs/liblam.so /usr/chess/gm/lib64/libgm.so
> -lc -soname ssi_rpi_gm.so -o .libs/ssi_rpi_gm.so
> pgcc-Warning-Unknown switch: --whole-archive

That's really weird. So in this directory, libtool somehow forgets the
contents of ${wl}. Could you please post the "libtool --mode=link"
command line that immediately precedes the above line?

Could you also go into your build tree, in share/ssi/rpi/gm, and
manually rerun that "libtool --mode=link" command line with --debug
added (as first argument), and send all output (gzipped would be good)?

Cheers,
Ralf