MacOS compiling/installation
MacOS compiling/installation
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
Hi,
I believe the cite you mentioned provides the latest binaries and compilation information for Mac.
Mikko
I believe the cite you mentioned provides the latest binaries and compilation information for Mac.
Mikko
-
- Posts: 5
- Joined: 30 Nov 2009, 22:59
Re: MacOS compiling/installation
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
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 412 times
-
- Posts: 5
- Joined: 30 Nov 2009, 22:59
Re: MacOS compiling/installation
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.
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 432 times
-
- Posts: 5
- Joined: 30 Nov 2009, 22:59
Re: MacOS compiling/installation
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
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
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
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