[MacPorts] #26424: valgrind +openmpi doesn't provide promised "libmpiwrap-<platform>.so" file

MacPorts noreply at macports.org
Fri Sep 10 08:16:19 PDT 2010


#26424: valgrind +openmpi doesn't provide promised "libmpiwrap-<platform>.so" file
-----------------------------------+----------------------------------------
  Reporter:  nilstec_inc@…         |       Owner:  raimue@…           
      Type:  defect                |      Status:  closed             
  Priority:  Normal                |   Milestone:                     
 Component:  ports                 |     Version:  1.9.1              
Resolution:  fixed                 |    Keywords:                     
      Port:  valgrind-devel        |  
-----------------------------------+----------------------------------------

Comment(by raimue@…):

 `/opt/local/lib/valgrind` is not in the default search path of the linker,
 therefore this fails. The user manual shows using `LD_PRELOAD` to insert
 the library, but that is Linux specific.

 There are two options:
  * Use `export DYLD_INSERT_LIBRARIES=/opt/local/lib/valgrind/libmpiwrap-
 amd64-darwin.so` before you call openmpirun. For this, you do not need to
 link your library.
  * Link against libmpiwrap-amd64-darwin.so and use `export
 DYLD_LIBRARY_PATH=/opt/local/lib/valgrind/` before you call openmpirun.

-- 
Ticket URL: <http://trac.macports.org/ticket/26424#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list