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 &#39;HE&#39; Brockschmidt &lt;<a href="mailto:marc@marcbrockschmidt.de">
marc@marcbrockschmidt.de</a>&gt; 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">&quot;Ondrej Certik&quot; &lt;
<a href="mailto:ondrej@certik.cz">ondrej@certik.cz</a>&gt; writes:<br>&gt; On Jan 4, 2008 10:15 AM, Marc &#39;HE&#39; Brockschmidt &lt;<a href="mailto:marc@marcbrockschmidt.de">marc@marcbrockschmidt.de</a>&gt; wrote:<br></div>
<div class="Ih2E3d">&gt;&gt; I tried rebuilding parmetis against the new mpich packages, so that the<br>&gt;&gt; whole heap of packages can migrate to testing. This failed:<br>&gt;&gt;<br>&gt;&gt; | Automatic build of parmetis_3.1-8+b1 on xenophanes by sbuild/amd64 98-farm
<br>&gt;&gt; | Build started at 20080104-0031<br>&gt;&gt; | ******************************************************************************<br>&gt;&gt;<br>&gt;&gt; [...]<br>&gt;&gt;<br>&gt;&gt; | make[2]: Entering directory `/build/buildd/parmetis-
3.1/METISLib&#39;<br>&gt;&gt; | gcc -I. -I.. -I/build/buildd/parmetis-3.1/ -O3 -c coarsen.c<br>&gt;&gt; | In file included from ./metis.h:27,<br>&gt;&gt; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from coarsen.c:13:<br>&gt;&gt; | ../parmetis.h:17:17: error: 
mpi.h: No such file or directory<br>&gt;&gt; | In file included from ./metis.h:27,<br>&gt;&gt; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from coarsen.c:13:<br>&gt;&gt; | ../parmetis.h:59: error: expected declaration specifiers or &#39;...&#39; before &#39;MPI_Comm&#39;
<br>&gt;&gt; [...]<br>&gt;&gt;<br>&gt;&gt; A complete build log can be found at<br>&gt;&gt; <a href="http://experimental.debian.net/build.php?arch=amd64&amp;pkg=parmetis&amp;ver=3.1-8+b1" target="_blank">http://experimental.debian.net/build.php?arch=amd64&amp;pkg=parmetis&amp;ver=3.1-8+b1
</a><br>&gt;&gt;<br>&gt;&gt; I guess you will need to update the build scripts to look into<br>&gt;&gt; /usr/lib/openmpi/include.<br></div><div class="Ih2E3d">&gt; The problem is, that openmpi package moved the *.h files out of
<br>&gt; /usr/include to /usr/lib and created<br>&gt; a link from /usr/include/openmpi. However, that link doesn&#39;t always<br>&gt; work. And if the link doesn&#39;t work,<br>&gt; it&#39;s a FHS violation - &nbsp;*.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 &quot;mpi.h&quot; 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> &nbsp; &nbsp; &nbsp; 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>