Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] OpenMPI-PGI: /usr/bin/ld: Warning: size of symbol `#' changed from # in #.o to # in #.so
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-03-30 07:39:07


When I have seen this problem before, it *usually* indicated a mismatch of Open MPI versions that were not ABI compatible. I.e., the application was compiled and linked against Open MPI version X, but then at run time, it found the shared libraries for Open MPI version Y -- and X is not ABI compatible with Y.

That being said:

>> Warning: size of symbol `mpi_fortran_argv_null_' changed
>> from 1 in foo.o to 8 in lib/libfoolib2.so

Doesn't sound like a version mismatch problem. A quick check through the history of OMPI's source code reveals that mpi_fortran_argv_null has been a (char*) since way back in v1.2.x days. So I'm curious as to how it could have a size of 1.

How did you compile foo.o?

On Mar 27, 2011, at 5:41 PM, Dmitry N. Mikushin wrote:

> I checked that this issue is not caused by using different compile
> options for different libraries. There is a set of libraries and
> executable compiled with mpif90, and this warning comes for
> executable's object and one of libraries...
>
> 2011/3/25 Dmitry N. Mikushin <maemarcus_at_[hidden]>:
>> Hi,
>>
>> I'm wondering if anybody have seen something similar, and have you
>> succeeded to run your application compiled by openmpi-pgi-1.4.2 with
>> the following warnings:
>>
>> /usr/bin/ld: Warning: size of symbol `mpi_fortran_errcodes_ignore_'
>> changed from 4 in foo.o to 8 in lib/libfoolib2.so
>> /usr/bin/ld: Warning: size of symbol `mpi_fortran_argv_null_' changed
>> from 1 in foo.o to 8 in lib/libfoolib2.so
>> /usr/bin/ld: Warning: alignment 16 of symbol `_mpl_message_mod_0_' in
>> lib/libfoolib1.so is smaller than 32 in foo.o
>> /usr/bin/ld: Warning: alignment 16 of symbol `_mpl_abort_mod_0_' in
>> lib/libfoolib1.so is smaller than 32 in foo.o
>> /usr/bin/ld: Warning: alignment 16 of symbol `_mpl_ioinit_mod_0_' in
>> lib/libfoolib1.so is smaller than 32 in foo.o
>> /usr/bin/ld: Warning: alignment 16 of symbol `_mpl_gatherv_mod_6_' in
>> lib/libfoolib1.so is smaller than 32 in foo.o
>>
>> Symbols names look like being internal to OpenMPI, there was one
>> similar issue in archive back in 2006:
>> https://svn.open-mpi.org/trac/ompi/changeset/11057 could it be hit
>> again?
>>
>> Thanks,
>> - D.
>>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/