lam-request lam-mpi.org wrote:
> Subject:
> Re: LAM: LAM 7.1.2 compile with pgi
> From:
> Ralf Wildenhues <Ralf.Wildenhues gmx.de>
> Date:
> Wed, 3 May 2006 08:41:18 +0200
> To:
> lam lam-mpi.org
>
> To:
> lam lam-mpi.org
>
>
> 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/.l
ibs
>>--rpath
/usr/src/redhat/BUILD/lam-7.1.2-1chess/pgi60/share/liblam/.l
ibs
>>--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 $. Could you please post the
"libtool --mode=link"
> command line that immediately precedes the above line?
The lines that immediately precedes are:
make[5]: Entering directory
`/usr/src/redhat/BUILD/lam-7.1.2-1chess/pgi60/share/ssi/rpi/
gm'
/bin/sh ./libtool --mode=link --tag=CC pgcc -O
-L/usr/chess/gm/lib64
-I/usr/chess/gm/include -fPIC -L/usr/chess/gm/lib64 -o
ssi_rpi_gm.la
-rpath /usr/chess/lam-pgi60-7.1.2/lib64/lam -module
-avoid-version
src/libgm.la ./../../../../share/libmpi/libmpi.la
./../../../../share/liblam/liblam.la -lgm
mkdir .libs
>
> 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
>
I have attached the output of the above "libtool
--mode=link ..."
command line.
Best regards,
John Lau
--
John Lau Chi Fai
Cluster Technology Ltd.
cflau clustertech.com
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/ |