I'm just starting work on fem and trying to get ElmerGUI running on a Mac. I'm using the 'Getting started with ElmerGUI' tutorial example 'angle3d.grd'.
When I start the solver it runs briefly and crashes - the solver log says only 'Reading Model....' Console log is shown below. Also attached is the summary screen for the project.
I'm running OS X 10.6.4 and the Elmer solver is 5.5.0.
Is anyone aware of a problem that might cause this or am I doing something incorrectly?
Thanks for any assistance.
Stu
Console Crash Log
Process: ElmerSolver [48315]
Path: /Applications/ElmerGUI.app/Contents/bin/ElmerSolver
Identifier: ElmerSolver
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: ElmerGUI [48105]
Date/Time: 2010-09-02 10:54:33.461 -0400
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000130
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libelmersolver.dylib 0x0007d37b modeldescription_MP_setcoordinatesystem + 204
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00816e18 ebx: 0x0007d2be ecx: 0x00000080 edx: 0x00000000
edi: 0x00000007 esi: 0x003186d0 ebp: 0xbfffee9c esp: 0xbfffe670
ss: 0x0000001f efl: 0x00010246 eip: 0x0007d37b cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000130
Binary Images:
0x1000 - 0x1ffc +ElmerSolver ??? (???) /Applications/ElmerGUI.app/Contents/bin/ElmerSolver
0xb000 - 0x359ff7 +libelmersolver.dylib ??? (???) /Applications/ElmerGUI.app/Contents/lib/libelmersolver.dylib
0x439000 - 0x439ff7 libmx.A.dylib 315.0.0 (compatibility 1.0.0) <01401BF8-3FC7-19CF-ACCE-0F292BFD2F25> /usr/lib/libmx.A.dylib
0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
0x9069d000 - 0x90843feb libSystem.B.dylib 125.2.0 (compatibility 1.0.0) <3441F338-2218-6D36-3F95-3A16FBF6713D> /usr/lib/libSystem.B.dylib
0x90cf8000 - 0x90cfbfe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x9417c000 - 0x94592ff7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x94b04000 - 0x94b6efe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x97ec0000 - 0x982f5ff7 libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <3441F338-2218-6D36-3F95-3A16FBF6713D> /usr/lib/libSystem.B.dylib
Project Summary
FINITE ELEMENT MESH
Nodes: 480
Volume elements: 300
Surface elements: 310
Edge elements: 620
Point elements: 0
ELEMENT TYPES
808: 300
404: 310
202: 620
GENERAL
Equations: 1
Materials: 1
Boundary conditions: 0
Body properties: 1
VOLUME BODIES
Body 1: 300 volume elements
Undetermined: 0
Total: 1 volume bodies
SURFACE BODIES
Undetermined: 0
Total: 0 surface bodies
SURFACE BOUNDARIES
Boundary 1: 160 surface elements
Boundary 2: 75 surface elements
Boundary 3: 75 surface elements
Undetermined: 0
Total: 3 surface boundaries
EDGE BODIES
Undetermined: 0
Total: 0 edge bodies
EDGE BOUNDARIES
Undetermined: 0
Total: 0 edge boundaries
Getting Started
Re: Getting Started
Hi Stu,
ElmerSolver seems to die very early while just initalizing stuff. Don't really know what that is about.
Could you get a terminal session, 'cd' to model folder and do
/Applications/ElmerGUI.app/Contents/bin/ElmerSolver
and show the us the output?
Also if you could tar+gz your model directory and attach it to a forum post we could try it to
figure out whether it is something about your model setup, or the Mac Elmer installation...
Where did you get the Mac binaries, btw ?
Juha
ElmerSolver seems to die very early while just initalizing stuff. Don't really know what that is about.
Could you get a terminal session, 'cd' to model folder and do
/Applications/ElmerGUI.app/Contents/bin/ElmerSolver
and show the us the output?
Also if you could tar+gz your model directory and attach it to a forum post we could try it to
figure out whether it is something about your model setup, or the Mac Elmer installation...
Where did you get the Mac binaries, btw ?
Juha
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Getting Started
Hi Stu
Did you get your binary from:
http://www.trueflaw.com/pub/elmer/page3/page3.html
Unfortunately the latest therein is from revision 3054 and as we are currently on revision 4613 there has been around 1500 commits and some of those may have corrected your problem. Unfortunately I do not know of any more recent Mac version.
-Peter
Did you get your binary from:
http://www.trueflaw.com/pub/elmer/page3/page3.html
Unfortunately the latest therein is from revision 3054 and as we are currently on revision 4613 there has been around 1500 commits and some of those may have corrected your problem. Unfortunately I do not know of any more recent Mac version.
-Peter
Re: Getting Started
Peter / Juha
Thanks for the prompt responses. I had assumed that the binary at trueflaw.com was fairly current - on further examination it turns out that it was compiled for OS X 10.4 which was back in the PPC days, so it's not too surprising that it doesn't work well on an Intel Mac and 10.6. I have machines running 10.3, 10.5 and 10.6 but no 10.4 : (
So other than rolling my own for 10.6 (which I will look into), do you have a recommendation for a *nix flavor where Elmer is well supported?
Thanks again -
Stu
Thanks for the prompt responses. I had assumed that the binary at trueflaw.com was fairly current - on further examination it turns out that it was compiled for OS X 10.4 which was back in the PPC days, so it's not too surprising that it doesn't work well on an Intel Mac and 10.6. I have machines running 10.3, 10.5 and 10.6 but no 10.4 : (
So other than rolling my own for 10.6 (which I will look into), do you have a recommendation for a *nix flavor where Elmer is well supported?
Thanks again -
Stu