[Dune] Identifying MPICH during configure

Steffen Müthing steffen.muething at iwr.uni-heidelberg.de
Thu Jan 23 19:49:20 CET 2014


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…

For reference, this is the commit that fixes the problem in dune-common:

http://cgit.dune-project.org/repositories/dune-common/commit/?id=21d244f46ebc2facdfc44374abd0aea25e0cfdb0

The fix for UG is pretty much identical because the UG build system use the same logic for
identifying MPI.

Steffen

Am 23.01.2014 um 19:41 schrieb Eike Mueller <e.mueller at bath.ac.uk>:

> Dear DUNE list,
> 
> I'm trying to install Dune and UG on Archer (the new UK HPC facility, replacing HECToR), and I noticed that it does not identify the MPI version (MPICH) correctly.
> 
> When I run ./configure in the UG directory, it basically claims that there is no MPI installed even though I clearly loaded the MPICH module (problem should be exactly the same in DUNE as the configure scripts seem to use the same mechanism for figuring out the MPI). I think this is because  the MPICH version is Cray specific, so current test always which preprocesses a simple c program and looks for MPICH specific test fails.
> 
> Instead of the current test for MPICH, wouldn't it be easier to do the same as what's done for identifying MPICH2 in the configure script, i.e. try to compile
> 
> #include <mpi.h>
> #include <stdio.h>
> int main() { printf ("%s\n", MPICH_VERSION); return 0; }
> 
> which will only work with MPICH? If I do this the configure script runs through and I can also compile UG successfully.
> 
> Thanks a lot,
> 
> Eike
> 
> -- 
> Dr Eike Hermann Mueller
> Research Officer (PostDoc)
> 
> Department of Mathematical Sciences
> University of Bath
> Bath BA2 7AY, United Kingdom
> 
> +44 1225 38 5633
> e.mueller at bath.ac.uk
> http://people.bath.ac.uk/em459/
> 
> 
> _______________________________________________
> 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: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140123/51e140c2/attachment.sig>


More information about the Dune mailing list