QProcess.ProcessError.FailedToStart for Calculix

About the development of the FEM module/workbench.

Moderator: bernd

lemonbug
Posts: 310
Joined: Sun Oct 19, 2014 5:12 pm

QProcess.ProcessError.FailedToStart for Calculix

Post by lemonbug »

Hi-

Sorry for posting this again. I was just really hoping someone knows what may be causing the following error on OSX. Everything installed on my side just not sure what is causing this error. I followed the brew installed instructions and it all seemed to go well. Reinstalled as well.

I am able to write the file and then when I run Calculix I receive this error. Thanks!

0.0: Check dependencies...
0.1: Write completed.
0.0: CalculiX binary: /usr/local/Cellar/calculix-ccx/2.13/bin/ccx_2.13
0.0: Run CalculiX...
0.0: Starting CalculiX...
0.0: CalculiX stopped.
0.1: CalculiX execute error: PySide2.QtCore.QProcess.ProcessError.FailedToStart


OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13519 (Git)
Build type: Release
Branch: (HEAD detached at 1a8b868)
Hash: 1a8b868018f45ea486c0023fdbfeb06febc1fb89
Python version: 2.7.14
Qt version: 5.10.1
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by chrisb »

Can you run calculix from the console?

Code: Select all

maccb:tmp cb$ /usr/local/Cellar/calculix-ccx/2.13/bin/ccx_2.13
Output here is

Code: Select all

Usage: CalculiX.exe -i jobname
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
lemonbug
Posts: 310
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by lemonbug »

Thanks. I will try tonight. Out of town with a different machine now. I will reinstall everything on this and report back.
lemonbug
Posts: 310
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by lemonbug »

chrisb wrote: Fri Sep 28, 2018 9:23 pm Can you run calculix from the console?

Code: Select all

maccb:tmp cb$ /usr/local/Cellar/calculix-ccx/2.13/bin/ccx_2.13
Output here is

Code: Select all

Usage: CalculiX.exe -i jobname
This is what I get when I run it from a cmd line:

JMacBook-Pro:bin j$ ccx_2.13
dyld: Library not loaded: /usr/local/opt/gcc/lib/gcc/7/libgfortran.4.dylib
Referenced from: /usr/local/bin/ccx_2.13
Reason: image not found
Abort trap: 6
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by chrisb »

So we came nearer to the problem, however, I don't know how to solve it
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
lemonbug
Posts: 310
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by lemonbug »

Yes, thank you. Slowly chipping away at this. I will google this and see what I can come up with. I feel like we are getting close!
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by chrisb »

What does this command say:

Code: Select all

ls -l /usr/local/opt/gcc/lib/gcc/7/libgfortran.*
here it is

Code: Select all

-r--r--r--  1 cb  admin  2107308  7 Mär  2018 /usr/local/opt/gcc/lib/gcc/7/libgfortran.4.dylib
-r--r--r--  1 cb  admin  8225736 25 Jan  2018 /usr/local/opt/gcc/lib/gcc/7/libgfortran.a
lrwxr-xr-x  1 cb  admin       19 25 Jan  2018 /usr/local/opt/gcc/lib/gcc/7/libgfortran.dylib -> libgfortran.4.dylib
-r--r--r--  1 cb  admin      198 25 Jan  2018 /usr/local/opt/gcc/lib/gcc/7/libgfortran.spec
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
lemonbug
Posts: 310
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by lemonbug »

looks like that is not installed.

Code: Select all

ls -l /usr/local/opt/gcc/lib/gcc/7/libgfortran.*
ls: /usr/local/opt/gcc/lib/gcc/7/libgfortran.*: No such file or directory
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by chrisb »

I'm afraid it has to be compiled for your system, but here is my library stuff, you may give it a try: https://owncloud.gwdg.de/index.php/s/ZL ... T/download
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
lemonbug
Posts: 310
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Post by lemonbug »

Thank you. I will keep you posted. I have to be close to this.
Post Reply