I've done some more digging and just replacing mpi.h with mpi/mpi.h doesn't work as other files in /usr/include/mpi are also included further on. Perhaps the best solution is to ensure that mkoctfile automatically adds /usr/include/mpi into the include path where required. This will then just work for all users of the octave headers (assuming they use mkoctfile - which is the recommended way of building octave extensions).
Andrew -- Dr Andrew Ross Email: a.n.r...@leeds.ac.uk Inst. for Climate and Atmospheric Science, Sch. of Earth and Environment, University of Leeds, Leeds, LS2 9JT, UK. Tel/Fax: +44 113 343 7590/5259 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org