FEM on Mac OSX

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Posts: 8046
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: FEM on Mac OSX

Postby bernd » Mon May 07, 2018 6:45 pm

NO not python, somthing seams wrong with your CalculiX binary ccx. Thus you should try to run just the ccx binary in a shell, or console, I do not know the name in OSX. There should be some output which hopefully will help.

Bernd
Jee-Bee
Posts: 1919
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FEM on Mac OSX

Postby Jee-Bee » Mon May 07, 2018 7:02 pm

bernd wrote:
Mon May 07, 2018 6:45 pm
NO not python, somthing seams wrong with your CalculiX binary ccx. Thus you should try to run just the ccx binary in a shell, or console, I do not know the name in OSX. There should be some output which hopefully will help.

Bernd
It's called terminal you're aloud to forget the name ;)
Locost
Posts: 6
Joined: Sun May 06, 2018 10:15 am

Re: FEM on Mac OSX

Postby Locost » Tue May 08, 2018 1:18 am

I probably crammed too much info in that last post. I tried running it in terminal (ie ./usr/local/Cellar/calculix-ccx/2.13/bin/ccx_2.13) and got this

dyld: Library not loaded: /usr/local/opt/gcc/lib/gcc/7/libgfortran.4.dylib
Referenced from: /usr/local/Cellar/calculix-ccx/2.13/bin/./ccx_2.13
Reason: image not found
Abort trap: 6

I found an unrelated post by someone with a similar error code with another program. They solved it by uninstalling the program and forcing homebrew to recompile and install (in this case. brew install --build-from-source calculix-ccx). I get an error when I try that.

make: *** [ccx_2.13.a] Error 1
User avatar
bernd
Posts: 8046
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: FEM on Mac OSX

Postby bernd » Tue May 08, 2018 6:50 pm

your ccx binary is somehow broken. Means it has nothing to do with FreeCAD. You need a working CalculiX ccx binary. Since it is OSX I can not help in this regard. The posts in this topic are the best redource I can advice. May be one of the guys from this topic can help ...
chrisb
Posts: 16887
Joined: Tue Mar 17, 2015 9:14 am

Re: FEM on Mac OSX

Postby chrisb » Tue May 08, 2018 8:47 pm

Would it help if I provide the ccx binary (1.5MB 7zipped) or the whole package (8.5 MB 7zipped) for Mac? Compiled under High Sierra.
User avatar
sgrogan
Posts: 5206
Joined: Wed Oct 22, 2014 5:02 pm

Re: FEM on Mac OSX

Postby sgrogan » Tue May 08, 2018 9:05 pm

Don't know if it's related but the Travis OSX builds started failing around the date of Locost's first post in this topic.
The self-test error is the always the same, and related to FEM tests? (not the same as Locost's errors, but the same self-test error)
https://travis-ci.org/FreeCAD/FreeCAD/j ... 8953#L8373
Locost
Posts: 6
Joined: Sun May 06, 2018 10:15 am

Re: FEM on Mac OSX

Postby Locost » Wed May 09, 2018 2:49 am

chrisb wrote:
Tue May 08, 2018 8:47 pm
Would it help if I provide the ccx binary (1.5MB 7zipped) or the whole package (8.5 MB 7zipped) for Mac? Compiled under High Sierra.
chrisb if you can get me the compiled package (say google drive or drop box) hopefully it will help. If that fixes things I'll report the hombrew issue.
chrisb
Posts: 16887
Joined: Tue Mar 17, 2015 9:14 am

Re: FEM on Mac OSX

Postby chrisb » Wed May 09, 2018 6:33 am

Here is a link where you can download the 7zipped package:
https://owncloud.gwdg.de/index.php/s/a8FaSxIpDJzNHuj
it contains the complete subtree /usr/local/Cellar/calculix-ccx/
Locost
Posts: 6
Joined: Sun May 06, 2018 10:15 am

Re: FEM on Mac OSX

Postby Locost » Wed May 09, 2018 11:50 am

Thanks for posting that chrisb. I gave the download a shot. I got the same issues and error messages in FreeCAD and terminal as before.
chrisb
Posts: 16887
Joined: Tue Mar 17, 2015 9:14 am

Re: FEM on Mac OSX

Postby chrisb » Wed May 09, 2018 4:13 pm

Locost wrote:
Wed May 09, 2018 11:50 am
I got the same issues and error messages in FreeCAD and terminal as before.
Sad to hear. If I call ccx I get a simple usage message (first line input, second line output):

Code: Select all

/usr/local/Cellar/calculix-ccx/2.13/bin/ccx_2.13
Usage: CalculiX.exe -i jobname