On 8/24/11 11:29 AM, "Dmitry N. Mikushin" <maemar...@gmail.com> wrote:

>Quick question: is there an easy switch to compile and install both
>32-bit and 64-bit OpenMPI libraries into a single tree? E.g. 64-bit in
>/prefix/lib64 and 32-bit in /prefix/lib.

Quick answer: not easily.

Long answer: There's not an easy way, but there are some facilities to
help.  I believe Oracle uses them when building binaries for Solaris.
There is some documentation available on our Trac wiki:

  https://svn.open-mpi.org/trac/ompi/wiki/MultiLib
  https://svn.open-mpi.org/trac/ompi/wiki/compilerwrapper3264

The difficulty is that it's up to the user/admin to make sure the correct
arguments are provided, as well as writing the wrapper script files to do
the sharing.

Brian

-- 
  Brian W. Barrett
  Dept. 1423: Scalable System Software
  Sandia National Laboratories





Reply via email to