[Pkg-openmpi-maintainers] Is this bug resolution still accurate?

Jordi Gutiérrez Hermoso jordigh at gmail.com
Tue Mar 22 14:12:57 UTC 2011


(Please CC me as I'm not subscribed to this list)

Is the above discussion for the #457088 report still accurate?

I just manually added a symlink from /usr/include/mpi.h to
/usr/include/mpi/mpi.h, and a program that does "#include <mpi.h>"
compiled and linked fine:

    jordi at Iris:~$ echo '#include <mpi.h>
     int main(int argc, char** argv) {
       MPI_Init(&argc, &argv);
       MPI_Finalize();
     }'> lol.c
    jordi at Iris:~$ gcc lol.c -o lol -lmpi
    jordi at Iris:~$ ./lol
    jordi at Iris:~$

Can't we use update-alternatives to give provide a symlink from
/usr/include/mpi.h ? I don't see a problem with MPI packages that
don't provide mpi.h with leaving this symlink alone.

I'm gonna keep my symlink, since it seems to allow me to build
Octave using libhdf5-opempi-dev. Octave's ./configure couldn't "find"
HDF5 without it when using the -openmpi- HDF5 package.

- Jordi G. H.



More information about the Pkg-openmpi-maintainers mailing list