-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
Execution error #530
Comments
I haven't run Ipopt with Spral on Windows so far. I would suggest you first try with MUMPS, HSL, Pardiso, or Intel MKL to check whether that works. If it does, then the problem is with Spral or the Spral interface. Or you run a debugger and check where this bad_alloc exception is thrown. |
Thank you @svigerske, I will try to compile one of them. |
I finally got around to try to reproduce this. With increased spral_print_level, I get
The exception seems to come from within Spral:
CC @jfowkes |
Thanks @svigerske, this definitely looks like an issue on our side deep within SPRAL: |
Continued in ralna/spral#81. |
Hello all,
I tried to install IPOPT in Windows under Msys2. Although everything was compiled without any problems, I am getting following error during the execution.
The code that I compiled is the tutorial code and Cpp_example in IPOPT source code. I also tried to debug Cpp_example and show that the error pops up in this line
And, here is how I compiled sample codes (for example tutorial):
I installed IPOPT with SPRAL. So, I also built dependencies of SPRAL, which are hwloc and metis. And here is how I installed everything:
I downloaded SPRAL from ralna/spral repository. Since I could not run autogen.sh in Windows, I ran it in an Ubuntu OS as in this SPRAL issue. Then I moved generated files to Windows.
During the SPRAL's compilation, it could not find gfortran. Therefore, I ran
After that I ran these commands as in SPRAL's readme:
I downloaded IPOPT (stable-3.14). During the IPOPT's compilation, it could not find gfortran. Therefore, I ran:
I ran also these commands as in SPRAL's readme:
During the configuration (or maybe during make, I am not sure), it could not find icui18n and icudata libraries. Therefore, I copied libicui18n.dll.a and libicudata.dll.a from D:\Msys2\usr\lib into a path that compiler can see.
After that I ran:
During these steps, make test command failed for all cases. However, when I run make install, I can see that library files have been built and located in the right place.
After all, now I have these libraries in my installation path, which is D:/workspace/extern/ipopt/lib
And I have these .dll files (in addition to some .exe files) in my bin directory, which is D:/workspace/extern/ipopt/bin
The text was updated successfully, but these errors were encountered: