-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on Windows when optimizing with SPRAL_jll #374
Comments
What is Does it work if you run Julia in Windows Subsystem for Linux? |
Thanks and sorry for my not having time to revisit this until today.
|
New comment to separate output and hopefully avoid confusion. I tried it in WSL as you suggested. It works there, which gives me a nice workaround until this issue is resolved. Here is the same info under WSL:
|
No need. You're volunteering your time 😄 The crash looks like it happens at the same time as ralna/spral#81. You could try setting Otherwise, just use WSL or a different linear solver. |
@jfowkes |
This indeed looks to be the same issue as ralna/spral#81, what I don't understand is why we're only seeing it on Windows and not elsewhere? |
We have tested this on SPRAL on Windows outside of IPOPT and are unable to reproduce this issue. |
What version of GCC did you use? SPRAL is compiled with GNU compilers 9.1 and Ipopt is compiled with the oldest version (8.1) that use libgfortran5. |
The linked issue ralna/spral#81 has been fixed. So perhaps this issue is also fixed now? |
I added a test here and it works on all platforms. |
Closing because #380 is passing tests on Windows. I haven't tagged a release yet, but please re-open if you have a reproducible example on the latest Edit: this shouldn't need a new release. It should work with Ipopt.jl v1.4.2 |
Not sure where the problem is so I hope it's OK if I open it here. Here's a quick test of the diet problem (from JuMP docs), first solved using Ipopt/MUMPS and then an attempt with SPRAL.
I'm not 100% sure I set everything up correctly though. I set the environment variables OMP_* as noted in the Ipopt README, started Julia and entered the diet problem with JuMP, then
]add SPRAL_jll
andimport SPRAL_jll
, then finally what you see below. Did I miss anything obvious?The text was updated successfully, but these errors were encountered: