Compiling IPOPT with MKL Pardiso on Windows #602
-
Hi, I managed to build ipopt on Windows using Intel MKL Pardiso.
I took the following steps to build ipopt using VS Build Tools 2022.
I've found the necessary linker options using the Intel Link Advisor tool (https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html).
Is there anything I can do to fix this? Thanks in advance and best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
That's the wrong integer type. You want That would then also correspond to the libs that configure tries if you don't specify the lapack flags explicitly (but that requires the MKL lib path to be in the standard library search path). |
Beta Was this translation helpful? Give feedback.
-
Now that I've built the ipopt-library, I don't manage to link to it.
CMakeLists.txt:
Find-library doesn't find anything (the variable IPOPT contains "IPOPT_NOTFOUND") and when I build the project, I receive the error
I also tried find-library with the /lib and /bin path. What am I doing wrong? Thanks in advance and best regards, |
Beta Was this translation helpful? Give feedback.
That's the wrong integer type. You want
mkl_intel_lp64_dll
instead ofmkl_intel_ilp64_dll
(unless you also build Ipopt for 64-bit integers).That would then also correspond to the libs that configure tries if you don't specify the lapack flags explicitly (but that requires the MKL lib path to be in the standard library search path).