Page 1 of 1

MacOS compiling/installation

Posted: 05 Oct 2009, 17:57
by hazelsct
I see an old version of Elmer 5.5/6.0 for MacOS (SVN 3054) at http://www.trueflaw.com/pub/elmer/page3/page3.html , but nothing newer, and nothing on the Wiki. Where's the most up-to-date information on compiling Elmer for MacOS?

Re: MacOS compiling/installation

Posted: 06 Oct 2009, 13:27
by mal
Hi,

I believe the cite you mentioned provides the latest binaries and compilation information for Mac.

Mikko

Re: MacOS compiling/installation

Posted: 30 Nov 2009, 23:47
by Blokkendoos
The http://www.trueflaw.com binaries crashed on my Intel iMac (OS X 10.5.8) when trying any one of the tutorial files. See "ElmerSolver.log" for details. *)

So I compiled ElmerFEM myself, following the trueflaw compile instructions and some additional changes, see details in "Compiling ElmerFEM and ElmerGUI" and "jvocomp.sh", the compile script used. *)

Finally trying to compile ElmerGUI there seems to be Mac specific stuff that doesn't compile due to source code errors, it seems. I modified the homePath reference in ../Application/egini.cpp (as QWidget has no homePath property) but that was not enough. See details in the make log "ElmerGUI Compilatie". *)

What should I do to get ElmerGUI compiled?

Regards,
Johan

PS Today (2009.12.02) retry with " ui_" prefix removed in the .h files in Application/src, now analysing compile errors related to OpenCascade (include) files...

*) The attached zip-file contains all Logfiles and scripts

Re: MacOS compiling/installation

Posted: 06 Dec 2009, 22:54
by Blokkendoos
Follow up to my previous ElmerGUI entry...
Though ElmerFEM compiled without errors, it crashes with every tutorial sample file :-(

Attached the compile log and a crash-log when ElmerSolver processes the InductionHeating, or for that matter any, tutorial file. Compiled todays svn version, #2487.

Re: MacOS compiling/installation

Posted: 30 Jan 2010, 20:04
by Blokkendoos
Well, in the end I could not solve the "bus error" error. Something in setcoordinatesystem in the moduledescription module goes wrong, see for details the crash log in my previous post.

Now I am investigating FreeFEM++ 3.7-1 (http://www.freefem.org) as an alternative to ElmerFEM. The binary runs on OS X (10.5.8) without the need for some tricky compilation. Maybe this can be an alternative FEM for other OS X users too.

Regards,
Johan

Re: MacOS compiling/installation

Posted: 23 Mar 2021, 22:22
by jvelasco
Here's a series of videos on how to install Elmer.

The first one shows how to use Homebrew's gcc compiler and the second one how to install a full fledge version of Elmer with MPI and ElmeGUI

https://www.youtube.com/watch?v=rQhSYKHw3HM&t=13s

https://www.youtube.com/watch?v=h7PswPM9qtk

Cheers,

Jon