<div dir="ltr"><div>Sorry, I just realized I'm using the Win32 binary of MPICH2</div><div>since I'm buildling Dune with cygwin .</div><div>it's a bit unclear which distribution of MPICH2 I should use (Ubuntu, Debian,..) when </div>
<div>building with cygwin. I'll try building with the available distributions..</div><div><br></div><div>Chen</div><div><br><div class="gmail_quote">On Sun, Jul 8, 2012 at 9:19 AM, Chen S <span dir="ltr"><<a href="mailto:chensp2602@gmail.com" target="_blank">chensp2602@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Christian,<div>MPICH2 does not have a MPI compiler, therefore :</div><div>"MPICC=/home/mpich2/bin/mpicc "</div>
<div>will not work, since mpicc does not exist in this package.</div><div><br></div>
<div>I've read somewhere that DUNE supports MPICH2, </div><div>so I'm wondering if there is a way around it.</div><div><br></div><div>Tx</div><span class="HOEnZb"><font color="#888888"><div>Chen</div></font></span><div>
<div class="h5"><div><br><div class="gmail_quote">On Thu, Jul 5, 2012 at 2:38 PM, Christian Engwer <span dir="ltr"><<a href="mailto:christian.engwer@uni-muenster.de" target="_blank">christian.engwer@uni-muenster.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, Jul 05, 2012 at 02:19:54PM +0200, Chen S wrote:<br>
> Hi Dune,<br>
><br>
> I'm building dune-common (and all the other modules) with MPI support now,<br>
> and I'm using MPICH2.<br>
><br>
> I'm working with Cygwin under windows, but it's basically a unix<br>
> environment .<br>
><br>
> Can anyone let me know what is the correct configure command I should use ?<br>
> I can't seem to find the right flags for it to work.<br>
><br>
> I tried :<br>
> ./configure --enable-parallel<br>
> and set MPICC to be the main directory for mpich2 : /home/mpich2<br>
<br>
</div>MPICC is the variable for the MPI C-compiler. I guess for you the<br>
correct value would be MPICC=/hom/mpich2/bin/mpicc<br>
<div><br>
> and also tried to set MPILIBS and DUNEMPILIBS,<br>
> but I still see  that configure says : "checking for mpi.h : no"<br>
> and I don't see any environment variable for the mpi include folder.<br>
<br>
</div>You can not include mpi header easily, as there is no standard for mpi<br>
includes... thus we do our black magic to extract these information<br>
from the mpicc wrapper script.<br>
<br>
Christian<br>
<div><br>
><br>
> Please, let me know how to configure it correctly,<br>
> Thanks<br>
> Chen<br>
<br>
<br>
</div>> _______________________________________________<br>
> Dune mailing list<br>
> <a href="mailto:Dune@dune-project.org" target="_blank">Dune@dune-project.org</a><br>
> <a href="http://lists.dune-project.org/mailman/listinfo/dune" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br>
<span><font color="#888888"><br>
<br>
--<br>
Prof. Dr. Christian Engwer<br>
Institut für Numerische und Angewandte Mathematik<br>
Fachbereich Mathematik und Informatik der Universität Münster<br>
Einsteinstrasse 62<br>
48149 Münster<br>
<br>
E-Mail  <a href="mailto:christian.engwer@uni-muenster.de" target="_blank">christian.engwer@uni-muenster.de</a><br>
Telefon <a href="tel:%2B49%20251%2083-35067" value="+492518335067" target="_blank">+49 251 83-35067</a><br>
FAX             <a href="tel:%2B49%20251%2083-32729" value="+492518332729" target="_blank">+49 251 83-32729</a><br>
</font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>