Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] compiler upgrades require openmpi rebuild?
From: Reuti (reuti_at_[hidden])
Date: 2010-09-03 14:15:42


Am 03.09.2010 um 19:51 schrieb Jeff Squyres:

> On Aug 30, 2010, at 6:48 PM, David Turner wrote:
>> We have recently upgraded our default compiler suite from
>> PGI 10.5 to PGI 10.8. We use the "module" system to manage
>> third-party software. The module for PGI sets PATH and
>> Using Open MPI 1.4.2, built with PGI 10.5, I have verified
>> that changing PATH is sufficient for the Open MPI compiler
>> wrappers to pick up version 10.8 of the PGI compilers.
>> However, it appears that the 10.5 PGI libraries are "wired"
>> into the wrappers somehow. So I get an executable that
>> has been compiled with PGI 10.8 but linked against PGI 10.5
>> libraries.
>> Short of rebuilding Open MPI with PGI 10.8, is there any
>> (safe, reliable) way to get the compiler wrappers to link
>> against the PGI 10.8 libraries? Thanks!
> Sorry for the latency in reply.
> I would guess that the Open MPI libraries have been linked against the PGI 10.5 libraries, and it might not be easy to dis-entangle them. It *might* be a simple as changing your LD_LIBRARY_PATH, but it might not.

what's inside the binaries (like mpirun) can be checked with:

$ readelf -a mpirun
 0x000000000000000f (RPATH) Library rpath: [/opt/pgi/linux86-64/9.0-4/lib]
 0x000000000000001d (RUNPATH) Library runpath: [/opt/pgi/linux86-64/9.0-4/lib]

This can even be changed by:

$ chrpatch -r ... mpirun

-- Reuti

> Since there's some question as to how to do it properly, it's probably safest / easiest / least total time spent to just build another copy of OMPI against 10.8. :-\
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to:
> _______________________________________________
> users mailing list
> users_at_[hidden]