Ipopt with OneAPI, HSL problem #656
-
I'm having some troubles installing Ipopt with with HSL and OneAPI (MKL). If I configure&install Ipopt without HSL, it all seems to work as expected. The OneAPI MKL Lapack libraries are found. However, if I first try to configure HSL with MKL Lapack, I reveive an error stating it cannot be linked with the user-specified Lapack. The line I used to link Lapack is the following:
Does anyone have some suggestion to fix this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
It's a bit odd that if it worked for Ipopt, it didn't for HSL. Can you attach also the config.log from the build of Ipopt without HSL? It would be interesting to see how the Lapack test in Ipopt is different from the one in HSL (the one failing in config.log:725). |
Beta Was this translation helpful? Give feedback.
-
Looks like you use GCC when building HSL, but MSVC when building Ipopt. For HSL, this one fails:
For Ipopt, this one succeeds:
Try adding |
Beta Was this translation helpful? Give feedback.
Looks like you use GCC when building HSL, but MSVC when building Ipopt.
For HSL, this one fails:
For Ipopt, this one succeeds: