LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Neil Storer (Neil.Storer_at_[hidden])
Date: 2005-03-01 09:43:45


Jeff, John,

It isn't a Portland Group problem. The bug is in the libtool fixes.
Instead of producing the call to "pgcc" with the parameter:

   -soname liblamf77mpi.so.0

libtool should produce it with:

   -Wl,-soname=liblamf77mpi.so.0

DON'T FORGET THE COMMA, NOR THE EQUALS SIGN.

"-soname=<name>" is an option on the loader "ld", the description of
which is:

  When creating an ELF shared object, set the internal DT_SONAME field
to the specified name.
  When an executable is linked with a shared object which has a
DT_SONAME field, then
  when the executable is run the dynamic linker will attempt to load the
shared object
  specified by the DT_SONAME field rather than using the file name
given to the linker.

Regards
        Neil

Jeff Squyres wrote:

> #$%@#$%@#$%
>
> I'll try [again] to get in touch with PGI; I've been relatively
> unsuccessful so far (does anyone have any contacts at PGI?).
>
>
> On Feb 28, 2005, at 10:19 PM, John Lau wrote:
>
>> Dear Jeff,
>>
>> Thank you for the 7.1.2b14.
>> I have tried it with PGI compiler but still got error:
>>
>> pgcc -
>> shared .libs/abort_f.o .libs/accept_f.o .libs/accumulate_f.o
>> .libs/address_f.o
>> <... many .o files ...>
>> .libs/wsetname_f.o .libs/wstart_f.o .libs/wtick_f.o .libs/wtime_f.o
>> .libs/wwait_f.o .libs/xbuoy_f.o .libs/xcoloron_f.o
>> .libs/xcoloroff_f.o -lpthread -lc -soname liblamf77mpi.so.0 -o
>> .libs/liblamf77mpi.so.0.0.0
>> pgcc-Warning-Unknown switch: -soname
>> File with unknown suffix passed to linker: liblamf77mpi.so.0
>>
>> Is libtool forget to add "-Wl," to -soname?
>>
>> Best regards,
>> John Lau
>>
>> On Fri, 2005-02-25 at 09:47 -0500, lam-request_at_[hidden] wrote:
>>
>>> I just posted LAM/MPI 7.1.2b14 with the latest libtool fixes for the
>>> Portland Group compilers.
>>>
>>> Anyone who had problems before with PGI compilers, please give this a
>>> whirl.
>>>
>>> -- {+} Jeff Squyres
>>> {+} jsquyres_at_[hidden]
>>> {+} http://www.lam-mpi.org/
>>>
>> -- John Lau Chi Fai
>> Cluster Technology Ltd.
>> cflau_at_[hidden]
>> Tel: (852) 2994-3727
>> Fax: (852) 2994-2101
>> <lam-
>> make.log><config.log>_______________________________________________
>> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>

-- 
+-----------------+---------------------------------+------------------+
| Neil Storer     |    Head: Systems S/W Section    | Operations Dept. |
+-----------------+---------------------------------+------------------+
| ECMWF,          | email: neil.storer_at_[hidden]    |    //=\\  //=\\  |
| Shinfield Park, | Tel:   (+44 118) 9499353        |   //   \\//   \\ |
| Reading,        |        (+44 118) 9499000 x 2353 | ECMWF            |
| Berkshire,      | Fax:   (+44 118) 9869450        | ECMWF            |
| RG2 9AX,        |                                 |   \\   //\\   // |
| UK              | URL:   http://www.ecmwf.int/    |    \\=//  \\=//  |
+--+--------------+---------------------------------+----------------+-+
   | ECMWF is the European Centre for Medium-Range Weather Forecasts |
   +-----------------------------------------------------------------+