Hello,
I just upgraded to the new Ubuntu version 10.04 and am trying to compile Elmer 5.4.1 (obtained through svn). In the previous Ubuntu version I never had a problem compiling in the same way I am doing now, but now I am getting these errors when compiling the 'fem' module:
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’
/usr/include/_hypre_utilities.h:849: error: expected declaration specifiers or ‘...’ before ‘MPI_Comm’
These errors continue for various HYPRE*.h files.
Scrolling farther up in the output I see that the MPI library is disabled.
Libs:
BLAS -lblas
LAPACK -llapack
HYPRE -lHYPRE_Euclid -lHYPRE_parcsr_ls -lHYPRE_ParaSails -lHYPRE_IJ_mv
UMFPACK -lumfpack -lamd
ARPACK -larpack
PARPACK -lparpack
HUTI -lhuti
EIO -leiof
MPI
MPI:
disabled
Could this be what is causing the problems? How do I enable the MPI library? I've looked through old posts, have downloaded mpi and mpich2, but am still unable to compile. Any ideas?
Enabling mpi.h library?
Re: Enabling mpi.h library?
Hi, is there a reason you need the old 5.4.1 version? Ubuntu 10.04 should come with a newer version of elmer as binary packages, with MPI enabled, and you can get an even newer one at www.opennovation.org/ubuntu .
-Adam
-Adam
Re: Enabling mpi.h library?
Same problem has hazelsct here!
Someone can help???
Thanks!
Pierre
Someone can help???
Thanks!
Pierre