Skip to content
Snippets Groups Projects
Commit 9f05df64 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

use C++ IPOpt

[[Imported from SVN: r2027]]
parent 558f284b
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,18 @@ LAPACKPP_CPPFLAGS = -I/home/haile/sander/lapack++-inst/include/lapackpp
LAPACKPP_LDFLAGS = -L/home/haile/sander/lapack++-inst/lib -llapackpp
# Include and linker paths to the old fortran IPOpt library
IPOPT_DIR = /home/haile/sander/COIN/Ipopt
IPOPT_LDADD = -L$(IPOPT_DIR)/lib -lipopt -llapack -lblas -lg2c
IPOPT_CPPFLAGS = -I$(IPOPT_DIR)/IPOPT/include -DHAVE_IPOPT
#IPOPT_DIR = /home/haile/sander/COIN/Ipopt
#IPOPT_LDADD = -L$(IPOPT_DIR)/lib -lipopt -llapack -lblas -lg2c
#IPOPT_CPPFLAGS = -I$(IPOPT_DIR)/IPOPT/include -DHAVE_IPOPT
# Include and linker paths to the new C++ IPOpt library
IPOPT_CPP_DIR = /home/haile/sander/CoinIpopt/build
IPOPT_LDADD = -L$(IPOPT_CPP_DIR)/lib -lipopt -llapack -lblas -lgfortran
IPOPT_CPPFLAGS = -I$(IPOPT_CPP_DIR)/include -DHAVE_IPOPT_CPP
# Hack around the insufficient build system: add to references
# to ag-common by hand
AM_CPPFLAGS += -I../../dune/ag-common
noinst_PROGRAMS = staticrod staticrod2 rod3d dirneucoupling
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment