Ruben,

I was hoping not to create all those mpi variants, but that seems to be the 
simplest solution!

> On Dec 4, 2018, at 10:28 AM, Ruben Di Battista <[email protected]> 
> wrote:
> 
> I don't know if it's a good example but I added the hdf5 variant to vtk that 
> works as expected with all the variants of mpi. Could you maybe try to take 
> inspiration from that? 
> 
> Il giorno mar 4 dic 2018, 14:25 Marius Schamschula <[email protected] 
> <mailto:[email protected]>> ha scritto:
> Hi all,
> 
> In the PR armadillo: fix error with hdf5 +openmpi [1], we want to fix an 
> issue where hdf5 has been installed with some flavor of mpi. The suggested 
> patch works only for openmpi, but not it’s many sub-ports. The same issue 
> exists for mpich.
> 
> I’m looking for a general way to extract the path to mpi.h for the active 
> variant of mpi, rather than hard coding each sub-port (as they constantly 
> change, as new compilers become available).
> 
> TIA
> 
> 
> [1] https://github.com/macports/macports-ports/pull/3102 
> <https://github.com/macports/macports-ports/pull/3102>
> 
> Marius
> --
> Marius Schamschula
> 
> 
> 
> 

Marius
--
Marius Schamschula



Reply via email to