[Dune] Identifying MPICH during configure

Eike Mueller e.mueller at bath.ac.uk
Fri Jan 24 00:11:23 CET 2014


Hi Steffen and Markus,

thanks a lot, I looked at the mpi.h on my system and it indeed looks like it's MPICH 3.0 (there's a #define MPICH_VERSION "3.0.3"). Yes, I'm using version 2.2.1 of DUNE.

As for UG, I was also using a slightly older version (patched with patch10-rc4), so I have now updated this with the latest patch as well, which fixes the problem there, I can configure, compile and install UG Grid with this.

I also downloaded the 2.2.1 tarball of DUNE again and successfully applied the patch you describe for m4/mpi-config.m4. Unfortunately that does not seem to help, and I suspect this is because the tarball contains aclocal.m4, which does not contain the test_mpich3() marco. I don't know much about autotools, but when I try to delete aclocal.m4 and regenerate it with aclocal I run into a different problem:

eike at eslogin004 $ aclocal
configure.ac:6: error: m4_defn: undefined macro: _m4_divert_diversion
configure.ac:6: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1

Apart from this, just looking through the patch, running ./conftest in mpi_trybuild_run() might not work as the MPI compiler is configued to cross-compile for the compute nodes, so I'm not sure I can execute anything on the login nodes, but I will find out once the configure runs.

Thanks,

Eike

On 23 Jan 2014, at 19:00, Steffen Müthing <steffen.muething at iwr.uni-heidelberg.de> wrote:

> 
> Am 23.01.2014 um 19:56 schrieb Markus Blatt <markus at dr-blatt.de>:
> 
>> On Thu, Jan 23, 2014 at 07:49:20PM +0100, Steffen Müthing wrote:
>>> Hi Eike,
>>> 
>>> what is the version of MPICH as reported by the command mpichversion or the module
>>> system? There was a problem with MPICH 3.x which has been fixed in the master branch
>>> of Dune (and I think also in the development version of UG), but I don’t know whether those
>>> fixes have made it to the releases yet…
>>> 
>> 
>> That one is in the release.
> 
> Ah, that’s good! :-)
> 
> But if Eike is still on 2.2.1, he doesn’t have that patch yet...
> 
>> 
>> 
>> -- 
>> Do you need more support with DUNE or HPC in general? 
>> 
>> Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
>> Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
>> Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune





More information about the Dune mailing list