Skip to content

Installing Ipopt and ThirdParty on MacOS - Metis issue? #471

Answered by svigerske
kwmcbride asked this question in Q&A
Discussion options

You must be logged in to vote

That looks as if configure decided that the Metis lib is present, but when linking the Mumps library, it is not found.
Maybe that can happen if you use clang for the C/C++ part, but GCC for the Fortran part, because the Metis check in configure is done with the C compiler, but linking the lib is done with the Fortran compiler.
If that is the case, you want to make sure that GCC is used for C/C++ sources, too. For that you would pass something like CC=gcc CXX=g++ to configure (or coinbrew). On the travis builds, I also need --with-metis-cflags=-I/usr/local/Cellar/metis/5.1.0/include --with-metis-lflags="-L/usr/local/Cellar/metis/5.1.0/lib -lmetis"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kwmcbride
Comment options

Answer selected by kwmcbride
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants