Hi,

> You may be interested in reading:
https://www.open-mpi.org/software/ompi/versions/

Thanks for your answer. I found:

> Specifically: v1.10.x is not guaranteed to be backwards
compatible with other v1.x releases.

And:

> However, this definition only applies when the same version of Open
MPI is used with all instances ... If the versions are not exactly the
same everywhere, Open MPI is not guaranteed to work properly in any
scenario.

So statically linking against Open MPI seems to be a bad idea.

What about linking against a rather old shared Open MPI library
from e.g. 3 years ago? Will my program likely run on most systems
which have a more recent Open MPI version installed?

Or is it better to not distribute any binaries which link against Open MPI
and instead put compilation instructions on the website?

Thanks,
Kim

On Sat, Feb 13, 2016 at 10:45 PM, Nick Papior <nickpap...@gmail.com> wrote:

> You may be interested in reading:
> https://www.open-mpi.org/software/ompi/versions/
>
> 2016-02-13 22:30 GMT+01:00 Kim Walisch <kim.wali...@gmail.com>:
>
>> Hi,
>>
>> In order to make life of my users easier I have built a fully
>> statically linked version of my primecount program. So the program
>> also statically links against Open MPI. I have built this binary on
>> CentOS-7-x86_64 using gcc. The good news is that the binary runs
>> without any issues on Ubuntu 15.10 x64 (uses mpiexec (OpenRTE) 1.10.2).
>>
>> The bad news is that the binary does not work on Ubuntu 14.04 x64
>> which uses mpiexec (OpenRTE) 1.6.5. Here is the error message:
>>
>>
>> $ mpirun -n 1 ./primecount 1e10 -t1
>> [ip-XXX:02671] [[8243,0],0] mca_oob_tcp_recv_handler: invalid message
>> type: 15
>> --------------------------------------------------------------------------
>> mpirun noticed that the job aborted, but has no info as to the process
>> that caused that situation.
>> --------------------------------------------------------------------------
>> ubuntu@ip-XXX:~$ mpiexec --version
>> mpiexec (OpenRTE) 1.6.5
>>
>>
>> Questions:
>>
>> 1) Is this backwards incompatibility issue an Open MPI bug?
>>
>> 2) Can I expect that my binary will work with future mpiexec
>> versions >= 1.10 (which it was built with)?
>>
>> Thanks and best regards,
>> Kim
>>
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2016/02/28522.php
>>
>
>
>
> --
> Kind regards Nick
>

Reply via email to