On Jul 7, 2010, at 2:53 PM, Jeremiah Willcock wrote:

> 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.

Sorry for the high latency reply!

There isn't currently a better way to do this other than editing or extracting 
the information from the wrapper data text files directly (it might not be too 
hard to parse the information from the wrapper text file -- a little 
grep/awk/sed might do ya...?).

If you have a better suggestion, a patch would be welcome!  :-)

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to