Discussion about building and installing Elmer
-
Takala
- Posts: 186
- Joined: 23 Aug 2009, 23:59
Post
by Takala »
Hi,
I'm trying to compile Elmer in Ubuntu 9.10 64-bit machine. I have the following error:
Code: Select all
mpif90 -m64 -fPIC -Wl,-rpath=/opt/elmer/lib -L. -L/opt/elmer/lib \
-o ElmerSolver Solver.o mpi_stubs.o \
-L. -lelmersolver
./libelmersolver.so: undefined reference to `parallelnumbering_'
collect2: ld returned 1 exit status
make[3]: *** [ElmerSolver] Error 1
make[3]: Leaving directory `/opt/elmerfem/trunk/fem/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/elmerfem/trunk/fem/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/elmerfem/trunk/fem'
make: *** [all] Error 2
I'm using the revision 4393. I get this error for both, parallel version and not parallel version. Do you know what could be the problem?
-
Takala
- Posts: 186
- Joined: 23 Aug 2009, 23:59
Post
by Takala »
I tried revision nro 4300. There is no problem.
-
Takala
- Posts: 186
- Joined: 23 Aug 2009, 23:59
Post
by Takala »
also 4380 is working
-
einatlev
- Posts: 47
- Joined: 13 Jan 2010, 06:54
Post
by einatlev »
Thanks Juha for a useful answer!! I ran into the same problem today trying to build ElmerSolver_mpi... so glad I finally found this answer.