MacOS compiling/installation

Discussion about building and installing Elmer
Post Reply
hazelsct
Posts: 153
Joined: 05 Oct 2009, 17:02
Location: Boston, MA, USA
Contact:

MacOS compiling/installation

Post 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?
mal
Site Admin
Posts: 54
Joined: 21 Aug 2009, 14:21

Re: MacOS compiling/installation

Post by mal »

Hi,

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

Mikko
Blokkendoos
Posts: 5
Joined: 30 Nov 2009, 22:59

Re: MacOS compiling/installation

Post 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
Attachments
Archief.zip
ElmerSolver.log, Compiling notes, jvocomp.sh and ElmerGUI compilation log
(8.01 KiB) Downloaded 411 times
Blokkendoos
Posts: 5
Joined: 30 Nov 2009, 22:59

Re: MacOS compiling/installation

Post 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.
Attachments
Archief.zip
ElmerFEM 4287 Compilation log + ElmerSolver crash log
(48.75 KiB) Downloaded 429 times
Blokkendoos
Posts: 5
Joined: 30 Nov 2009, 22:59

Re: MacOS compiling/installation

Post 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
jvelasco
Posts: 10
Joined: 03 Feb 2021, 16:45
Antispam: Yes

Re: MacOS compiling/installation

Post 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
Post Reply