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

Chapel on Macs with M1 chips #17911

Closed
5 of 6 tasks
bradcray opened this issue Jun 11, 2021 · 4 comments
Closed
5 of 6 tasks

Chapel on Macs with M1 chips #17911

bradcray opened this issue Jun 11, 2021 · 4 comments

Comments

@bradcray
Copy link
Member

bradcray commented Jun 11, 2021

This issue generally asks "How is Chapel doing on Macs with M1 chips?" where I think we mostly don't have much experience within the core team. It would be good to be able to have access to one in-house to take stock of things.

We have had a user mention on Gitter that they were able to download from GitHub and build from source. The GASNet's team seems to reflect this as well.

At present we know:

ronawho added a commit that referenced this issue Sep 1, 2021
Default to fifo tasking layer on arm based macs

[reviewed by @bradcray and @gbtitus]

Qthreads doesn't currently support arm based macs. Configure fails with
`error: What kind of a Mac is this?` while trying to figure out what
native assembly to use for context switching. We started looking at
using system `ucontext` in sandialabs/qthreads#90, but given how close our
release is we want to default to fifo since we know some users have had
success with that.

Resolves Cray/chapel-private#2424
Part of #17911
@ronawho
Copy link
Contributor

ronawho commented Feb 8, 2022

@bradcray I think, but am not positive that the first two major bullets are done. Do you agree?

@bradcray
Copy link
Member Author

bradcray commented Feb 8, 2022

As far as I know (based on the Homebrew CI checks), but I don't have an M1 Mac to download and test on to be sure. If you've verified them, it'd be fine with me to check those off.

@ronawho
Copy link
Contributor

ronawho commented Feb 8, 2022

brew install chapel installed a bottle that works for me (passes hellos)

brew install --build-from-source chapel also gave me a working install.

@bradcray
Copy link
Member Author

bradcray commented Apr 8, 2022

I'm going to go ahead and close this since we're in better shape with M1 Macs and the single remaining known issue is still open and can stand for itself. (i.e., this issue was designed to bring attention to a handful of problems and I think has served that purpose).

@bradcray bradcray closed this as completed Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants