Skip to content

Need help installing IPOPT in MacOS #687

Answered by tkralphs
Girdled-Armadilo asked this question in Q&A
Discussion options

You must be logged in to vote

I just built Ipopt on MacOS 13.2.1 and it worked out of the box with configure && make. If you attach the full output of configure and the resulting config.log, I can try to help.

Indeed, clang does not support OpenMP. Apple has an annoying habit of creating a wrapper around clang that they call gcc in order to prevent build systems that have gcc hard-coded from failing (I guess). The configure script may get confused and think it's talking to gcc, which supports OpenMP and uses the -fopenmp flag, when it's really talking to clang. So I would guess your problem will be fixed if you do configure CC=clang CXX=clang++. But it's not clear how that -fopenmp is getting there in the first place,…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@Girdled-Armadilo
Comment options

@Girdled-Armadilo
Comment options

@svigerske
Comment options

@Girdled-Armadilo
Comment options

Answer selected by Girdled-Armadilo
Comment options

You must be logged in to vote
1 reply
@Girdled-Armadilo
Comment options

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