QProcess.ProcessError.FailedToStart for Calculix

About the development of the FEM module/workbench.

Moderator: bernd

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

QProcess.ProcessError.FailedToStart for Calculix

Postby lemonbug » Fri Sep 28, 2018 9:10 pm

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
Posts: 15271
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby chrisb » 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
lemonbug
Posts: 274
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby lemonbug » Fri Sep 28, 2018 9:33 pm

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

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby lemonbug » Fri Sep 28, 2018 10:22 pm

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
Posts: 15271
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby chrisb » Fri Sep 28, 2018 11:04 pm

So we came nearer to the problem, however, I don't know how to solve it
lemonbug
Posts: 274
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby lemonbug » Fri Sep 28, 2018 11:32 pm

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
Posts: 15271
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby chrisb » Fri Sep 28, 2018 11:51 pm

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
lemonbug
Posts: 274
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby lemonbug » Sat Sep 29, 2018 1:50 am

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
Posts: 15271
Joined: Tue Mar 17, 2015 9:14 am

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby chrisb » Sat Sep 29, 2018 5:03 am

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
lemonbug
Posts: 274
Joined: Sun Oct 19, 2014 5:12 pm

Re: QProcess.ProcessError.FailedToStart for Calculix

Postby lemonbug » Sat Sep 29, 2018 2:49 pm

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