Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix needed for IPOPT #7

Open
jaeandersson opened this issue Oct 29, 2014 · 1 comment
Open

Fix needed for IPOPT #7

jaeandersson opened this issue Oct 29, 2014 · 1 comment

Comments

@jaeandersson
Copy link

I'm not sure if this is the right place to report this, if not, please point me to a better place.

The IPOPT package makes some assumptions about the IPOPT installation which are incorrect on OS X and probably on many LINUX systems. I managed to fix it by in /usr/local/Cellar/cutest/HEAD/libexec/packages/defaults/ipopt replacing the line

export PACKLIBS="-lipopt -L${IPOPT}/lib -lblas -llapack /usr/local/lib/libcoinhsl.so -ldl -L/usr/local/lib -lmetis"                                 

with the more generic and platform-independent:

export PACKLIBS=`pkg-config --libs ipopt`
@jaeandersson
Copy link
Author

KNITRO also needs additional arguments. This works for me on OS X and KNITRO 9:

export PACKLIBS="-L$KNITRO/lib -lknitro901 -liomp5 -lstdc++ -ldl"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant