List Info

Thread: LAM: lam Digest, Vol 681, Issue 1




LAM: lam Digest, Vol 681, Issue 1
user name
2006-05-04 02:57:45
lam-requestlam-mpi.org wrote:

> Subject:
> Re: LAM: LAM 7.1.2 compile with pgi
> From:
> Ralf Wildenhues <Ralf.Wildenhuesgmx.de>
> Date:
> Wed, 3 May 2006 08:41:18 +0200
> To:
> lamlam-mpi.org
> 
> To:
> lamlam-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.
cflauclustertech.com

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: lam Digest, Vol 681, Issue 1
user name
2006-05-04 06:51:19
Hi John,

* John Lau wrote on Thu, May 04, 2006 at 04:57:45AM CEST:
> >* 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.

> 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)?

> I have attached the output of the above "libtool
--mode=link ..." 
> command line.

Hmm.  That did not give more clues.  Please attach
share/ssi/rpi/gm/config.log (packed) and the output of
  share/ssi/rpi/gm/libtool --config

Thanks,
Ralf
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )