[Dune] Identifying MPICH during configure

Oliver Sander sander at igpm.rwth-aachen.de
Fri Jan 24 09:25:09 CET 2014


Am 24.01.2014 00:11, schrieb Eike Mueller:
> 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

Hi Eike,
quick solution:
clone into dune-common, change to the 2.2 branch, apply the patch there and do a 'make dist'.
That gives you a tarball with the patch.
ideal solution: we do that for you, and do a 2.2.2 release of dune-common.

PS: That Archer thing has how many processors?  What's your goal with UG?

Cheers,
Oliver [waiting for new bugreports :-) ]


> 
> 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
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 534 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140124/a7c9f12b/attachment.sig>


More information about the Dune mailing list