Bug#732202: libhdf5-openmpi-dev: pathways for mpi.h not picked up with the linked include <mpi.h>

pini pini at pustule.org
Tue Dec 24 12:51:50 UTC 2013


Hi,

Marc J. Driftmeyer a écrit , Le 15/12/2013 17:00:
> Package: libhdf5-openmpi-dev
> Version: 1.8.11-5
> Severity: normal
>
> Dear Maintainer,
>
> I installed libhdf5-openmpi-dev to build against Field3D GPU stack and wanting to build for parallel switched from hdf5 serial to hdf5 openmpi.
>
> Result:
>
> <mpi.h> not found.
>
> Solution:
>
> Edit H5public.h to change the following:
>
> #include <mpi.h>
>
> to
>
> #include <openmpi/mpi.h>
>
> Not sure if this is a proper workaround, but I can cleanly build Field3D now.

How about using CC=mpicc CXX=mpicxx instead?

Thanks,

_g.



More information about the Pkg-grass-devel mailing list