Hello all,
I've been using casadi and I really enjoy casadi! I'd like to ask one question about my problem with the HSL solver with ipopt.
- where should I run this command (./configure --prefix=(where_you_want_to_install) LIBS="-llapack" --with-blas="-L/usr/lib -lblas" CXXFLAGS="-g -O2 -fopenmp" FCFLAGS="-g -O2 -fopenmp" CFLAGS="-g -O2 -fopenmp")? I guess I should run in metis-4.0.3 directory but in the directory there is no configuration files so I just skipped this part. Maybe this skip results in my problem.
- So, when I run casadi with ipopt, I got the following error:
---
Exception of type: OPTION_INVALID in file "../../../../Ipopt/src/Algorithm/IpAlgBuilder.cpp" at line 393:
Exception message: Selected linear solver HSL_MA86 not available.
Tried to obtain HSL_MA86 from shared library "libhsl.so", but the following error occurred:
/home/yuki/research/driver/coinhsl-linux-x86_64/lib/libhsl.so: undefined symbol: dtrsm_
---
Could anybody help me with how to fix this issue?
For your reference, I'm using Ubuntu 20.04. Also, I got this result:
---
ldd ~/research/driver/coinhsl-linux-x86_64/lib/libhsl.so
linux-vdso.so.1 (0x00007ffece3d2000)
libgfortran.so.3 => /lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007fc910edf000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc910d90000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc910b9e000)
libquadmath.so.0 => /lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007fc910b54000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc910b39000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc911567000)
---
I also got this:
/coinhsl-linux-x86_64/lib$ nm libhsl.so | grep -i dtrmm
U dtrmm_
I look forward to hearing from you!
Best regards,
Yuki Shirai