MPI problem

Discussion about building and installing Elmer
Post Reply
einatlev
Posts: 47
Joined: 13 Jan 2010, 06:54

MPI problem

Post by einatlev »

Hello
I am trying to build the trunk version without MPI (well, with can be fine too, but I can't get either...)
I disabled MPI, but I still get this error:
make[3]: Entering directory `/home/einatlev/Elmer/trunk/fem/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/include -I/usr/X11/include -O2 -funroll-loops -m64 -fPIC -fPIC -I/home/einatlev/Elmer/trunk//include -MT SolveHypre.o -MD -MP -MF .deps/SolveHypre.Tpo -c -o SolveHypre.o SolveHypre.c
In file included from /usr/include/_hypre_utilities.h:13,
from SolveHypre.c:25:
/usr/include/HYPRE_utilities.h:26:17: error: mpi.h: No such file or directory
In file included from SolveHypre.c:25:
/usr/include/_hypre_utilities.h:830: error: expected declaration specifiers or '...' before 'MPI_Comm'
/u
so I'm guessing it can't find MPI, even though my MPIDIR variable is defined OK.

what should I look for?
this is a Linux machine, Ubuntu 10.04.1
Elmer revision 5200, version 6.0
Thanks!
Juha
Site Admin
Posts: 357
Joined: 21 Aug 2009, 15:11

Re: MPI problem

Post by Juha »

Hi,

don't know about the MPI problems (is there a file /opt/include/mpi.h or /usr/include/mpi.h?).
Anyway apparantly you have configured the fem/ for using HYPRE. This is only available
in parallel and should not be used when building a serial version (same goes for MUMPS).

Juha
einatlev
Posts: 47
Joined: 13 Jan 2010, 06:54

Re: MPI problem

Post by einatlev »

how do I remove it then?
I run ./configure with only the --prefix-... option, nothing else...
thanks!
tzwinger
Site Admin
Posts: 100
Joined: 24 Aug 2009, 12:20
Antispam: Yes

Re: MPI problem

Post by tzwinger »

Hi,
could you perhaps check in Synaptic, whether you accidentally have hypre installed and hence the library within your paths? The config.log from the fem-directory would help to inquire that.

Regards,

Thomas
Juha
Site Admin
Posts: 357
Joined: 21 Aug 2009, 15:11

Re: MPI problem

Post by Juha »

Hi,

--with-hypre=no configure option might also help here...

Juha
hazelsct
Posts: 153
Joined: 05 Oct 2009, 17:02
Location: Boston, MA, USA
Contact:

Re: MPI problem

Post by hazelsct »

Or you can get source and binary packages for Lucid (10.04) from http://www.opennovation.org/ubuntu/
Post Reply