First of all thanks for the amazing work you are doing.
I unfortunately constantly run into crashes in the program (the program suddenly exits when performing a calculation). I am running DWSIM on a mac mostly but have also experienced it in windows.
Is there a way you can step through the calculation to prevent it from crashing? Or maybe another way for a user to analyse why it happends? That would make me a lot happier if I can understand and then solve the problem myself.
Best Regards
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No that doesnt help. If I add water and change to isothermal operation of the eq reactor the calculation breaks. I tried setting up a MeOH eq reactor and that also breaks even as an adiabatic reactor..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I disable to IPOPT Solver the calculation runs fine.. I think it is a general problem for all calculations as the error is reproducible. What does the IPOPT solver do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Btw. it seems as it is a required library even if the checkbox for IPOPT is unchecked.. At least I get crashes without that being checked. Do you have an idea of when next release is due? Thanks. Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Daniel.
First of all thanks for the amazing work you are doing.
I unfortunately constantly run into crashes in the program (the program suddenly exits when performing a calculation). I am running DWSIM on a mac mostly but have also experienced it in windows.
Is there a way you can step through the calculation to prevent it from crashing? Or maybe another way for a user to analyse why it happends? That would make me a lot happier if I can understand and then solve the problem myself.
Best Regards
Michael
Can you record a video of the crash?
Sure. I have attached a video
Can you take a screenshot of the Global Settings > Solver panel?
Attached
Uncheck "CPU SIMD" and see if it stops crashing.
No that doesnt help. If I add water and change to isothermal operation of the eq reactor the calculation breaks. I tried setting up a MeOH eq reactor and that also breaks even as an adiabatic reactor..
Ok. Try running DWSIM from a terminal using the following command
DWSIM.app/Contents/MacOS/Launcher.exec
after the crash you'll be able to see something useful on the terminal.
Hi Daniel. I tried taking screenshots of crashes from two different files I tried running. Hope it helps in solving it. Br Michael
If I disable to IPOPT Solver the calculation runs fine.. I think it is a general problem for all calculations as the error is reproducible. What does the IPOPT solver do?
Are you running DWSIM in a M1 Mac? libipopt is there inside the package, but it is a native library compiled for 64-bit Intel Macs.
No it is on a macbook pro retina from 2012 so standard intel based.
Are you running v6.4.3?
Yes. Downloadd it yesterday.
Try this command:
MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" DWSIM.app/Contents/MacOS/Launcher.exec
It will give you a more detailed error message regarding IPOPT.
I dumped the log to a txt file, which is attached.
It seems that IPOPT requires libgfortran and I didn't include it in DWSIM package. You can try to install it by yourself: https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
I'll include it in the next version.
Great. I look forward to the next version. Br Michael
Btw. it seems as it is a required library even if the checkbox for IPOPT is unchecked.. At least I get crashes without that being checked. Do you have an idea of when next release is due? Thanks. Michael
I've added the fortran lib to the current release: https://sourceforge.net/projects/dwsim/files/DWSIM/DWSIM%206.4/6.4.3/DWSIM_v643_macOS.zip/download
Hi Daniel. Just tried it and that hasnt made any difference.. I am still getting a lot of errors in the logs. See attached.
now with file
Try again
I tried by using the same link as given before but same result. Pasted the error log. Is the link correct?
Br
Michael
The MD5 of the updated zip file is b7eec733a817741e0000c4f004787bb8, check if you've downloaded the correct one.