I just uploaded a new version of parmetis which should fix this bug<br>I will check the build logs<br><br><br><div class="gmail_quote">On Jan 4, 2008 11:52 AM, Marc 'HE' Brockschmidt <<a href="mailto:marc@marcbrockschmidt.de">
marc@marcbrockschmidt.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">"Ondrej Certik" <
<a href="mailto:ondrej@certik.cz">ondrej@certik.cz</a>> writes:<br>> On Jan 4, 2008 10:15 AM, Marc 'HE' Brockschmidt <<a href="mailto:marc@marcbrockschmidt.de">marc@marcbrockschmidt.de</a>> wrote:<br></div>
<div class="Ih2E3d">>> I tried rebuilding parmetis against the new mpich packages, so that the<br>>> whole heap of packages can migrate to testing. This failed:<br>>><br>>> | Automatic build of parmetis_3.1-8+b1 on xenophanes by sbuild/amd64 98-farm
<br>>> | Build started at 20080104-0031<br>>> | ******************************************************************************<br>>><br>>> [...]<br>>><br>>> | make[2]: Entering directory `/build/buildd/parmetis-
3.1/METISLib'<br>>> | gcc -I. -I.. -I/build/buildd/parmetis-3.1/ -O3 -c coarsen.c<br>>> | In file included from ./metis.h:27,<br>>> | from coarsen.c:13:<br>>> | ../parmetis.h:17:17: error:
mpi.h: No such file or directory<br>>> | In file included from ./metis.h:27,<br>>> | from coarsen.c:13:<br>>> | ../parmetis.h:59: error: expected declaration specifiers or '...' before 'MPI_Comm'
<br>>> [...]<br>>><br>>> A complete build log can be found at<br>>> <a href="http://experimental.debian.net/build.php?arch=amd64&pkg=parmetis&ver=3.1-8+b1" target="_blank">http://experimental.debian.net/build.php?arch=amd64&pkg=parmetis&ver=3.1-8+b1
</a><br>>><br>>> I guess you will need to update the build scripts to look into<br>>> /usr/lib/openmpi/include.<br></div><div class="Ih2E3d">> The problem is, that openmpi package moved the *.h files out of
<br>> /usr/include to /usr/lib and created<br>> a link from /usr/include/openmpi. However, that link doesn't always<br>> work. And if the link doesn't work,<br>> it's a FHS violation - *.h files should be in /usr/include/... not in /usr/lib.
<br><br></div>Ehm, parmetis is *only* looking into the standard include path + some<br>local dirs. There is no "mpi.h" in /usr/include, even if the symlink<br>exists. Either you need to add /usr/include/openmpi to the include path
<br>or try to include openmpi/mpi.h (which sounds b0rken) (ie add<br>-I/usr/include/openmpi and everything should be fine).<br><br>Marc<br><font color="#888888">--<br>Fachbegriffe der Informatik - Einfach erklärt<br>158: Geisterfahrer
<br> Gegenrichtungsfahrbahnbenutzer (Burkhardt Schröder)<br></font><br>_______________________________________________<br>Pkg-scicomp-devel mailing list<br><a href="mailto:Pkg-scicomp-devel@lists.alioth.debian.org">
Pkg-scicomp-devel@lists.alioth.debian.org</a><br><a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel</a><br></blockquote>
</div><br>