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

Support for Apple M1 #193

Open
lyinch opened this issue Apr 24, 2022 · 3 comments
Open

Support for Apple M1 #193

lyinch opened this issue Apr 24, 2022 · 3 comments

Comments

@lyinch
Copy link

lyinch commented Apr 24, 2022

I tried using Cbc and JuMP but get a double free error on an M1 macbook pro:

julia> using Cbc
julia> using JuMP
julia> model = Model(Cbc.Optimizer)
julia(6797,0x100a88580) malloc: *** error for object 0xe00000000000000: pointer being freed was not allocated
julia(6797,0x100a88580) malloc: *** set a breakpoint in malloc_error_break to debug
signal (6): Abort trap: 6
in expression starting at REPL[3]:1
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 7410580 (Pool: 7408535; Big: 2045); GC: 5
zsh: abort      /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia

I use Julia Version 1.7.2 (2022-02-06)

@odow
Copy link
Member

odow commented Apr 24, 2022

The underlying issue is probably: jump-dev/Clp.jl#131.

M1 support in Julia is still Tier 3: https://julialang.org/downloads/#supported_platforms.

Use Rosetta, or use HiGHS.jl instead.

@odow odow changed the title Double free error on macos M1 Support for Apple M1 Oct 26, 2022
@mzy2240
Copy link

mzy2240 commented Feb 16, 2024

@odow do we have any plan to support Cbc on apple silicon? Thanks!

@odow
Copy link
Member

odow commented Feb 16, 2024

No plan. Problem also jump-dev/Clp.jl#131.

My long-term hope is that a new v2 release of https://github.com/coin-or/Clp is made. That will fix a number of bugs and simplify the build system. That might fix the issue.

Until then, use HiGHS. It is faster, works on M2, and is MIT licensed.

@odow odow mentioned this issue Jul 17, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants