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

Is Apple M2 (arm64) supported? #390

Open
mdorier opened this issue Jun 22, 2023 · 2 comments
Open

Is Apple M2 (arm64) supported? #390

mdorier opened this issue Jun 22, 2023 · 2 comments

Comments

@mdorier
Copy link
Contributor

mdorier commented Jun 22, 2023

I'm trying Argobots programs that work fine on Linux on my MacBook Pro M2 and I'm getting segfaults in various places. One happens when calling ABT_xstream_set_main_sched in this piece of code (run right after ABT_init):

ret = ABT_sched_create_basic(ABT_SCHED_BASIC_WAIT, 0, NULL, ABT_SCHED_CONFIG_NULL, &self_sched);
assert(ret == ABT_SUCCESS);
ret = ABT_xstream_self(&self_xstream);
assert(ret == ABT_SUCCESS);
ret = ABT_xstream_set_main_sched(self_xstream, self_sched);
assert(ret == ABT_SUCCESS)

I found another segfault happening when calling ABT_thread_join. Is Apple M2 not supported?

@carns
Copy link
Contributor

carns commented Jun 22, 2023

@mdorier were you running argobots@main or the last release?

Just wondering if it included these fixes #325 ?

@mdorier
Copy link
Contributor Author

mdorier commented Jun 22, 2023

Oh my, I spent the entire day on this and didn't think of trying the main branch (granted, I only figured the segfault was in Argobots an hour ago). But... yes, the main branch has no problem.

We really need a point release of Argobots with those changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants