[Ipopt] DPOTRF missing in Lapack

Stefan Vigerske stefan at math.hu-berlin.de
Thu Jul 30 09:10:34 EDT 2009


Hi,

> I did all this. I also rebuild my application that uses Ipopt from
> scratch just to be sure. COIN_HAS_LAPACK is (and was originally too)
> defined as 1. I am still experiencing the error about DPOTRF being
> missing in LAPACK.
> 
> Any more hints?

Not really. I can just tell you where to start searching ;-).
The message comes from IpLapack.cpp in Ipopt/src/LinAlg, in case that
COIN_HAS_LAPACK is not defined.
IpLapack.cpp includes Ipopt/src/Common/IpoptConfig.h, which itself
includes config_ipopt.h, which has the #define COIN_HAS_LAPACK line.
Maybe you can just rebuild IpLapack.lo and see if there are some
compiler warnings. There should also be a -DHAVE_CONFIG_H in the
compiler flags.

Stefan
> 
> Thanks,
> Jens
> 
> 2009/7/30 Stefan Vigerske <stefan at math.hu-berlin.de>:
>> when you look into ~/src/Ipopt-3.5.5/build/Ipopt/inc/config_ipopt.h, do
>> you have COIN_HAS_LAPACK defined there?
>> If so, do make clean, recompile, and try again.
>> Otherwise remove the build directory, and do a new configure and build.
>> If configure found lapack, then it should have setup config_ipopt.h in a
>> way that COIN_HAS_LAPACK is defined.
> 


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan



More information about the Ipopt mailing list