Opened 11 years ago

Closed 11 years ago

#39554 closed enhancement (fixed)

openmpi: configure command change so that user-linked MPI applications use correct libmpi

Reported by: linh.nguyen@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: eborisch (Eric A. Borisch), mamoll (Mark Moll), seanfarley (Sean Farley)
Port: openmpi

Description

In order to get a FEniCS subproject (DOLFIN) to compile correctly with openmpi, I need to make sure that OPMI's wrapper compilers are using the correct version of libmpi per instructions here: http://www.open-mpi.org/faq/?category=osx. The configure command for openmpi needs this option added:

--with-wrapper-ldflags="-Wl,-search_paths_first"

Attachments (1)

mypatch (421 bytes) - added by linh.nguyen@… 11 years ago.
patch for configure command

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by linh.nguyen@…

Attachment: mypatch added

patch for configure command

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Keywords: haspatch added; openmpi configure removed
Owner: changed from macports-tickets@… to mww@…
Summary: openmpi configure command change so that user-linked MPI applications use correct libmpiopenmpi: configure command change so that user-linked MPI applications use correct libmpi
Type: requestenhancement
Version: 2.1.3

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: eborisch@… mmoll@… sean@… added

Maintainer timeout, obviously.

Seems like a simple enough change, but I’m not comfortable committing it myself because I don’t know anything about OpenMPI. I’m Cc-ing some people who actually have a clue :)

comment:3 Changed 11 years ago by mamoll (Mark Moll)

The FAQ mentions that this flag is necessary if you build static libs, but the MacPorts version of openmpi doesn't include static libs. So this change might not be necessary. Other than that, it seems like a relatively simple change.

comment:4 Changed 11 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

I've done all the work necessary to add the dolfin port. You should be able to run sudo port install dolfin now. Please open a new ticket if that doesn't work for you.

Note: See TracTickets for help on using tickets.