[ET Trac] [Einstein Toolkit] #1009: MPI is not automatically detected on Mac OS

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Aug 9 15:01:11 CDT 2012


#1009: MPI is not automatically detected on Mac OS
------------------------------------+---------------------------------------
  Reporter:  hinder                 |       Owner:     
      Type:  defect                 |      Status:  new
  Priority:  minor                  |   Milestone:     
 Component:  EinsteinToolkit thorn  |     Version:     
Resolution:                         |    Keywords:     
------------------------------------+---------------------------------------

Comment (by knarf):

 This is a bit more complicated. Because of the possibility of having
 multiple different installations of mpi versions being installed at the
 same time, the header files can end up in totally different places than
 the libraries and are not nicely predictable. Once example is
 /usr/lib64/mpich2/lib/libmpich.so and /usr/include/mpich2-x86_64/mpi.h, or
 /usr/lib64/openmpi/lib/libmpi.so and /usr/include/openmpi-x86_64/mpi.h.

 One would have to
 - search for the libraries/utilities (reasonable)
 - use these tools to obtain the include paths, e.g. openmpi/bin/mpicc
 --show
 - parse the output and use these while building.

 All this would not be necessary if the mpicc ect. wrappers would be used,
 but they often cannot because of the wish to use another compiler than the
 mpi libraries have been built with.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1009#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list