#1655: Cannot compile on Mac OS ---------------------+------------------------------------------------------ Reporter: hinder | Owner: Type: defect | Status: new Priority: minor | Milestone: ET_2014_11 Component: Cactus | Version: development version Resolution: | Keywords: MPI ---------------------+------------------------------------------------------ Changes (by hinder):
* priority: critical => minor
Comment:
Yes, setting {{{ MPI_LIBS = mpi_cxx mpi }}} in the optionlist allows the link to succeed, and I can run the resulting executable. Thanks! I have committed the change to simfactory as revision 2407. According to Erik (by email), the old version of the MPI thorn configuration script set "MPI_LIBS = mpi_cxx mpi" by default, which is correct for OpenMPI, but not for other MPI implementations. The new version does not set these. Hence, with OpenMPI it is now necessary to set these explicitly.
The executable for auto-detection is called mpicxx-openmpi-mp in MacPorts. This should be searched for by the configure script. Leaving the ticket open for this.