pb compiling Elmer under Ubutnu 12.04

Discussion about building and installing Elmer
Post Reply
parrenin
Posts: 1
Joined: 20 Jul 2012, 18:09
Antispam: Yes

pb compiling Elmer under Ubutnu 12.04

Post by parrenin »

Dear all,
I tried to compile Elmer following the instructions on this page:
http://www.csc.fi/english/pages/elmer/d ... #compilers
and using the proposed script.
The compilation goes finely until a problem is reached when trying to compile fem:

make[4]: Rien à faire pour « install-data-am ».
make[4]: quittant le répertoire « /usr/local/elmerfem/fem/src/binio »
make[3]: quittant le répertoire « /usr/local/elmerfem/fem/src/binio »
make[2]: quittant le répertoire « /usr/local/elmerfem/fem/src/binio »
Making install in .
make[2]: entrant dans le répertoire « /usr/local/elmerfem/fem/src »
gfortran -O -m64 -fPIC -fPIC -I. -Ibinio -I../binio -I/usr/include -c DirectSolve.f90
DirectSolve.f90:986.39:

A % mumpsIDL % COMM = MPI_COMM_SELF
1
Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
make[2]: *** [DirectSolve.o] Erreur 1
make[2]: quittant le répertoire « /usr/local/elmerfem/fem/src »
make[1]: *** [install-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/local/elmerfem/fem/src »
make: *** [install-recursive] Erreur 1

Does anybody knows this problem?

Best regards,

Frédéric
tcad
Posts: 1
Joined: 31 Jul 2012, 02:16
Antispam: Yes

Re: pb compiling Elmer under Ubutnu 12.04

Post by tcad »

Hi:

I have the same problem. I have not been able to resolve it. It looks like the Directsolve.f90 is re-written every time the "make" is called. I tried overriding the Implicit option through the gfortran compiler option "-u" but unsuccessful.

I too need help on this please.....

Regards
boy007
Posts: 17
Joined: 12 Oct 2010, 15:17
Contact:

Re: pb compiling Elmer under Ubutnu 12.04

Post by boy007 »

bonjour,

Project opened, partisipate, share,..

https://code.launchpad.net/mpi4you

cordialiments
joni
Last edited by boy007 on 10 Jan 2013, 17:40, edited 6 times in total.
tormod
Posts: 6
Joined: 22 May 2012, 12:38
Antispam: Yes

Re: pb compiling Elmer under Ubutnu 12.04

Post by tormod »

boy007 wrote: -needed libraryes are incorrect, too old, install sudo-apt-get install elmer to get correct libraryes
Note that for building programs under Debian/Ubuntu (in contrast to running them) you should try "sudo apt-get build-dep elmer" to install libraries etc needed for building the program the way it is packaged. Often a library has a separate -dev package that needs to be installed when building something using this library.
boy007
Posts: 17
Joined: 12 Oct 2010, 15:17
Contact:

Re: pb compiling Elmer under Ubutnu 12.04

Post by boy007 »

:D
Last edited by boy007 on 21 Aug 2012, 09:30, edited 1 time in total.
tormod
Posts: 6
Joined: 22 May 2012, 12:38
Antispam: Yes

Re: pb compiling Elmer under Ubutnu 12.04

Post by tormod »

The binary packages in the PPA are built from the Debian source package which I uploaded to the PPA (the .dsc file and the files referenced inside it). If you have installed the build dependencies you can run "debuild -b -us -uc" inside the unpacked source directory (use dpkg-source -x to unpack the .dsc file) on your own machine. If you just want to see exactly which packages were pulled in during the PPA build, look at the build log.
Post Reply