You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sources (taken from the Ipopt, ThirdParty-Mumps, and ThirdParty-HSL repos) in $DIR/Ipopt, $DIR/mumps, and $DIR/hsl.
HSL includes all Maxx solvers
The file libopenblas.a is copied to $DIR/install/lib
Build static MUMPS using
export PREFIX=$DIR/install
export LIBDIR=$PREFIX/lib
cd $DIR/mumps/build
../configure --prefix="$PREFIX" --with-lapack-lflags="-Wl,--no-as-needed $LIBDIR/libopenblas.a -lm' --disable-shared
make
make install
static HSL using
cd $DIR/hsl/build
../configure --prefix="$PREFIX" --with-lapack-lflags="-Wl,--no-as-needed $LIBDIR/libopenblas.a -lm' --disable-shared
make
make install
IpTNLPAdapter.cpp:(.text+0x72f1): undefined reference to `Ipopt::Ma28TDependencyDetector::Ma28TDependencyDetector()'
If I go into IpTNLPAdapter.cpp and comment out all the code that references Ma28, then everything works as expected.
The text was updated successfully, but these errors were encountered:
rlkamalapurkar
changed the title
MA28TDependencyChecker is referenced even when MA28 is not available.
MA28TDependencyChecker is referenced but not built
Jul 17, 2024
It seems that the CoinHslConfig.h header, which is build and installed by ThirdParty-HSL, says that MA28 is available, but the check for MA28 in the HSL library during Ipopt's configure is failing. The latter decides whether to build Ma28TDependencyDetector.
Please check the config.log from Ipopt why it failed to find the ma28ad symbol (failing on ma28a (the single-precision variant of ma28ad is ok)). Maybe your --with-hsl-lflags need to be adjusted.
Setup (I want statically linked ipopt):
$DIR/Ipopt
,$DIR/mumps
, and$DIR/hsl
.$DIR/install/lib
Build static MUMPS using
static HSL using
and static Ipopt using
I then try to build hs071_cpp using the following modifications to the default Makefile
to get
If I go into IpTNLPAdapter.cpp and comment out all the code that references Ma28, then everything works as expected.
The text was updated successfully, but these errors were encountered: