-
Notifications
You must be signed in to change notification settings - Fork 4
CoinOptServices build broken on macOS Sierra #40
Comments
I ran into what may be the same issue; building from source should work. You may need #37 (comment out the Homebrew provider, then re-run |
Where are the instructions to "build from source"? |
@stumarcus576 did you figure it out? |
No. |
Did you try commenting out the Homebrew provider in |
Where is deps/build.jl ? |
The macOS binaries will likely remain broken until we develop BinaryBuilder packages. We just got through this with Ipopt (jump-dev/Ipopt.jl#98). However, I can't even compile the last Optimization Services release (from 2015) locally due to errors with gcc 6.3. I think the BinaryBuilder toolchain uses gcc 7. The most likely way forward would be for us to drop Optimization Services and directly build Couenne and Bonmin for use with AmplNLWriter. |
We have an updated discussion on the status of the package at #44. |
After getting a bunch of help from the kind folks here, I think I have gotten Couenne to install/work (this was my goal). I will try to detail instructions below: For reference, I am running v0.6.2 of Julia on MacOS High Sierra v10.13.3. The overarching plan here is to install Couenne from source, and then direct AmplNLWriter to it.
--> If you're having trouble finding it, the INSTALL instructions have a direct download link from subversion so you can just run: This creates a directory Couenne/ and downloads most of the necessary
b. Following the INSTALL.HSL instructions:
Note: matching the instructions to this example, coinhsl-x.y.z.tar.gz == coinhsl-2014.01.10.tar.gz, etc. c. Then rename the directory coinhsl-x.y.z to coinhsl, or set a symbolic link:
This should be all you need to do w/ HSL. Now go back to Couenne.
If it works, you should see something like this:
If all of the tests are passed, you can make install:
This should give you a working Couenne installation.
Then whenever you want to use Couenne with JuMP, use something like:
Hope this helps and please post corrections if/when appropriate! |
@shoshievass, this is great, thanks for putting it together! |
I just tried mlubin's instructions for installing and using Mumps instead of HSL, and it works fine. |
BTW, one of the COUENNE installation steps, provided above by @shoshievass, failed because I didn't have a Fortran compiler installed. I followed these instructions (https://www.webmo.net/support/fortran_osx.html) under "gfortran COMPILER ... "GCC Wiki" implementation" to download and install gfortran in /usr/local/. |
I have macOS Sierra version 10.12.6. When I try to Pkg.build("CoinOptServices"), I get the error below:
===========================[ ERROR: CoinOptServices ]===========================
LoadError: Provider BinDeps.PackageManager failed to satisfy dependency libOS
while loading /Users/a598124/.julia/v0.6/CoinOptServices/deps/build.jl, in expression starting on line 71
================================================================================
================================[ BUILD ERRORS ]================================
WARNING: CoinOptServices had build errors.
Pkg.build("CoinOptServices")
deps/build.jl
script================================================================================
The text was updated successfully, but these errors were encountered: