[Dune] Configuring dune-common with MPICH2

Chen S chensp2602 at gmail.com
Sun Jul 8 09:19:27 CEST 2012


Hi Christian,
MPICH2 does not have a MPI compiler, therefore :
"MPICC=/home/mpich2/bin/mpicc "
will not work, since mpicc does not exist in this package.

I've read somewhere that DUNE supports MPICH2,
so I'm wondering if there is a way around it.

Tx
Chen

On Thu, Jul 5, 2012 at 2:38 PM, Christian Engwer <
christian.engwer at uni-muenster.de> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120708/d5763233/attachment.htm>


More information about the Dune mailing list