Open svigerske opened 4 years ago
Comment by kribe48 created at 2018-01-18 12:02:55
I managed to solve the problem, by doing the following modifications to make_linux.mk :
################################################################################
# user configuration
..
..
..
USE_SOLVER = MA57
#USE_SOLVER = MA57
ifeq ($(USE_SOLVER), MA57)
LIB_SOLVER = /usr/local/lib/libhsl_ma57.a
LIB_METIS = /usr/local/lib/libfakemetis.so
DEF_SOLVER = SOLVER_MA57
LINKHSL = -Wl,-rpath=/usr/local/lib/
else ifeq ($(USE_SOLVER), MA27)
LIB_SOLVER = /usr/local/lib/libhsl_ma27.a
DEF_SOLVER = SOLVER_MA27
LINKHSL =
else
LIB_SOLVER =
DEF_SOLVER = SOLVER_NONE
LINKHSL =
endif
..
..
################################################################################
# do not touch this
..
..
..
# libraries to link against when building qpOASES .so files
LINK_LIBRARIES = ${LIB_LAPACK} ${LIB_BLAS} ${LIB_METIS} -lm ${LIB_SOLVER}
Hence, the solution was to provide the location of the metis-package.
Regards, Kristoffer
Issue created by migration from Trac.
Original creator: kribe48
Original creation time: 2018-01-15 10:34:00
Assignee: ferreau
Version: 3.2.0
Hi!
I am trying to install the HSL_MA57 solver with qpOASES according to the descriptions provided in the user manual, Section 2.2. However, I get the following error when I run make:
I have updated the make_linux.mk file according to:
I have used HSL_MA57 5.2.0 and installed libhsl_ma57.a and libfakemetis.a in /usr/local/lib. However, it seems like I got some errors with linking towards the metis package.
Can anyone help me with this issue?
Regards, Kristoffer