Search found 357 matches

by Juha
28 Sep 2012, 14:04
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi, yes that should be the case. The difference in libraries is due to different compiler configuration. In addition to PATH you might need to also set ELMER_HOME to point to your new ElmerSolver installation directory in order to pick up the new modules instead of the old installed ones. An alterna...
by Juha
28 Sep 2012, 11:58
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi,

sorry but i don't quite get the question? Do you mean you want run the solver
from ElmerGUI? Or something else?

Juha
by Juha
28 Sep 2012, 10:42
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi, be sure NOT to include elmer binary distribution \bin and \lib directories in your PATH when running the new ElmerSolver binary. It might pick the old libelmersolver.dll library if your PATH includes those. The gcc-elmer* only includes static gcc libraries, and thus the dynamic libraries are not...
by Juha
28 Sep 2012, 09:16
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi, did a web search 'bout the libgcc_s_dw2-1.dll, guess it should be located at c:\mingw\bin (or whatever your main mingw installation directory), and seen when applications run under mingw, but not when run from Windows directly (?) Adding c:\mingw\bin to your PATH should do the trick or copying t...
by Juha
27 Sep 2012, 14:48
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi,

about the size of the binaries: i think the Elmer binaries have
been stripped, as in

strip ElmerGrid

Juha
by Juha
27 Sep 2012, 14:30
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi,

add these

export CC=gcc
export CXX=g++

and retry? Only fem/ should need to be included in the rebuild...

Juha
by Juha
27 Sep 2012, 12:53
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hello, does ElmerGrid seem to work? Seems two troubles still a) umfpack configury doesn't spot fortran compiler, please try to add export FC=gfortran export F77=gfortran to your script. b) fem configury fails to locate libeiof.a for some reason, please attach fem/config.log, and i'll have a look? Re...
by Juha
27 Sep 2012, 11:50
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi,

for some reason you are (again) using gcc-elmer from Elmer binary distribution
as you compiler. I.e. from your log file:

-----
...
checking for gcc... gcc-elmer

...
----
Juha
by Juha
27 Sep 2012, 10:23
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi,

can you try commenting out the LDFLAGS setting in your script?
Does it make a difference?

Regards,Juha
by Juha
27 Sep 2012, 08:46
Forum: Installation & compilation
Topic: Compile Elmer under Windows
Replies: 30
Views: 25329

Re: Compile Elmer under Windows

Hi,

do you still have elmer binary distribution /bin & /lib directories
in your PATH when doing the compilation? That might mix things
up...

Regards, Juha