-
Notifications
You must be signed in to change notification settings - Fork 286
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
Problem with finding lapack #515
Comments
Try adding also The one where MKL was actually used is the one where MKL is available in the library search path, so configure can find it automatically. |
Thanks for your reply! I tried with a tailing --with-lapack and --with-lapack=yes and got the error
I guess, the new release is not planned within the next days? :) You mean LD_LIBRARY_PATH? I could set it to /opt/intel/mkl/lib/intel64 as first entry before configure. Or is there an as zip downloadable commit I can use instead? Thanks! |
I guess the issue with --with-lapack is, that there is something like a |
The variable seems to be LIBRARY_PATH (I only knew LD_LIBRARY_PATH). |
That one means that something is wrong with these flags.
I meant the path where the compiler/linker is looking for libraries.
Current stable branch: https://github.com/coin-or/Ipopt/archive/refs/heads/stable/3.14.zip |
@svigerske Thanks a lot! By your hint I found a good workaround and learned something new about LIBRARY_PATH. From my point of view this issue could be closed?! |
- set release date - improve date - add ref to #515
- set release date - improve date - add ref to #515
This issue shouldn't have been closed, since it's not resolved. I just had the same issue as well. The problem is that the configure script has a bug and passes |
Can you be more specific where in configure it passes something with quotes? How do you call configure exactly and where do the wrong quotes appear? |
We have an academic FE code and I want to update from a fairly old ipopt version to 3.14.2.
We have Intel MKL in our code and I build ipopt via cmake external project. This worked out of the box for newest macOS, current openSUSE tumbelweed and Ubunutu 20.04. However I have issues with some runner of our build-pipeline. Unfortunately I have no direct access to this build systems to do experiments.
From https://coin-or.github.io/Ipopt/INSTALL.html I use
configure --with-lapack-lflags="-L${MKL_LIB_DIR} -Wl,--no-as-needed -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm"
And I assert, that ${MKL_LIB_DIR}/libmkl_intel_lp64.a exists.
This is working Ubuntu 20.04
This is working macOS
This is a working gitlab runner current openSUSE Leap
This is a failed gitlab runner (centos6)
Another failed gitlab runner (fedora32)
It works also for centos7 with intel compiler and openSUSE tumbleweed.
I have no idea, how it is searched for lapack, strange is, that the results for the given working examples are completely different, whereas I assumend the command line simply tells to use mkl.
[Edit:] I just realized, that only the variants
checking for LAPACK... yes: Intel MKL (-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm)
work at runtime and find pardiso_.How to enforce that mkl is used and found?
Do you have any idea? Thanks a lot.
The text was updated successfully, but these errors were encountered: