Closed gigglesun closed 1 year ago
The third example (setting --with-lapack-lflags
) is the one that should be used if Lapack isn't installed in a default location. You'll have to look into config.log regarding details on why the link check has failed. Maybe there are more linker flags necessary.
The third example (setting
--with-lapack-lflags
) is the one that should be used if Lapack isn't installed in a default location. You'll have to look into config.log regarding details on why the link check has failed. Maybe there are more linker flags necessary.
Thanks for your reply and help @svigerske , after checking the config.log and there is some dlopen related error, and add -ldl linker flags, it can configure successfully, the command I used is as below:
../configure --disable-java --with-lapack-lflags="-L/usr/local/opt/lapack/lib/ -llapack -lblas -ldl" --prefix=${IPOPT_INSTALL_PATH}
I follow the installation guide to install latest 3.14 IPOPT on a cent os which has already installed lapack before and always get this LAPACK related error message:
Command example 1:
I got
Command example 2:
I got
seems the --without-lapack command do not take effect.
Command example 3:
I got
seems the --with-lapack-lflags command do not take effect.
Command example 4:
I got