Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Adding libraries to wrapper compiler at run-time
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-07-07 14:53:26


The Open MPI FAQ shows how to add libraries to the Open MPI wrapper
compilers when building them (using configure flags), but I would like to
add flags for a specific run of the wrapper compiler. Setting OMPI_LIBS
overrides the necessary MPI libraries, and it does not appear that there
is an easy way to get just the flags that OMPI_LIBS contains by default
(either using -showme:link or ompi_info). Is there a way to add to the
default set of OMPI_LIBS rather than overriding it entirely? Thank you
for your help.

-- Jeremiah Willcock