-
Notifications
You must be signed in to change notification settings - Fork 14
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
IPOPT build with coinhsl fails on macos arm64 #95
Comments
I thought I just added a workaround. There is no release yet, and maybe An easy workaround on the users side should be to run coinbrew build with |
Ah I see, I tried this yesterday, probably before your commit. From what I understand, with the workaround in place, multiprocessing is completely disabled, i.e., HSL is compiled without -fopenmp, correct? If yes, then I am not sure about the workaround. Without the workaround, I can get a (what I think is OpenMP-enabled) build by
I suppose I could still do the same 2-step process by adding --enable-openmp to the coinbrew build command? |
You can build ThirdParty-HSL with You can also build ThirdParty-HSL (with |
The second option (runtime loading) is what I am doing right now, and it
works as expected.
Thanks for maintaining this!
…On Fri, Jul 5, 2024, 02:14 Stefan Vigerske ***@***.***> wrote:
You can build ThirdParty-HSL with --enable-openmp, but then have to
modify libcoinhsl.la to remove the -fopenmp before building Ipopt (could
be tricky to do this with coinbrew). Removing libcoinhsl.la could also
work.
You can also build ThirdParty-HSL (with --enable-openmp) and Ipopt
separately, and let it Ipopt load the HSL library at runtime. Ipopt option
hsllib lets you point to the HSL library.
—
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHG43EFKY5Q3VO3UZBLHMXLZKZBWZAVCNFSM6AAAAABKL4FSZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQGMZDONZZG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Configuration:
M3 Macbook Air, macOS Sonoma
Problem description:
If I fetch, build, and install Ipopt with ASL and MUMPS using coinbrew, without HSL sources, then everything works as expected.
If I copy the coinhsl source folder to /ThirdParty/HSL and then try to build, then ASL, MUMPS, and CoinHSL are all built and installed correctly, but the Ipopt build fails with the error message
Any ideas how this can be fixed?
The text was updated successfully, but these errors were encountered: