[Dune] Configuring dune-common with MPICH2
Christian Engwer
christian.engwer at uni-muenster.de
Thu Jul 5 14:38:06 CEST 2012
On Thu, Jul 05, 2012 at 02:19:54PM +0200, Chen S wrote:
> Hi Dune,
>
> I'm building dune-common (and all the other modules) with MPI support now,
> and I'm using MPICH2.
>
> I'm working with Cygwin under windows, but it's basically a unix
> environment .
>
> Can anyone let me know what is the correct configure command I should use ?
> I can't seem to find the right flags for it to work.
>
> I tried :
> ./configure --enable-parallel
> and set MPICC to be the main directory for mpich2 : /home/mpich2
MPICC is the variable for the MPI C-compiler. I guess for you the
correct value would be MPICC=/hom/mpich2/bin/mpicc
> and also tried to set MPILIBS and DUNEMPILIBS,
> but I still see that configure says : "checking for mpi.h : no"
> and I don't see any environment variable for the mpi include folder.
You can not include mpi header easily, as there is no standard for mpi
includes... thus we do our black magic to extract these information
from the mpicc wrapper script.
Christian
>
> Please, let me know how to configure it correctly,
> Thanks
> Chen
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
--
Prof. Dr. Christian Engwer
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster
E-Mail christian.engwer at uni-muenster.de
Telefon +49 251 83-35067
FAX +49 251 83-32729
More information about the Dune
mailing list