Skip to content

Try using MPICH on macOS to avoid crashes#1217

Open
LourensVeen wants to merge 3 commits intoamusecode:mainfrom
LourensVeen:github_actions_mac_mpi
Open

Try using MPICH on macOS to avoid crashes#1217
LourensVeen wants to merge 3 commits intoamusecode:mainfrom
LourensVeen:github_actions_mac_mpi

Conversation

@LourensVeen
Copy link
Member

The CI isn't working on macOS because we're getting an unknown MPI error. This switches to MPICH on macOS, see if that works...

@LourensVeen LourensVeen requested a review from a team as a code owner March 5, 2026 07:41
@LourensVeen LourensVeen self-assigned this Mar 5, 2026
@LourensVeen
Copy link
Member Author

Seems like it gets through test_c_distributed_implementation but now it's hanging on test_fortran_implementation. We need that CI machine in Leiden I think...

@LourensVeen LourensVeen moved this from Backlog to In progress in Development Board Mar 5, 2026
rieder
rieder previously approved these changes Mar 6, 2026
Copy link
Member

@rieder rieder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MPI on GitHub/macOS has been a mixed bag, it seems unpredictable whether it will work or not. If nowadays MPICH is a better option, fine!

@github-project-automation github-project-automation bot moved this from In progress to Done in Development Board Mar 6, 2026
@rieder
Copy link
Member

rieder commented Mar 6, 2026

Seems like it gets through test_c_distributed_implementation but now it's hanging on test_fortran_implementation. We need that CI machine in Leiden I think...

Maybe we could buy a M4 Mac Mini, and run some UTM virtual machines on it? Should be able to test both Mac and Linux setups, and could also emulate x86-64 Linux (at least currently, with macOS still supporting Rosetta).

@LourensVeen
Copy link
Member Author

OpenMPI is more actively maintained than MPICH, and it has a lot more features. If I were building an HPC cluster it's certainly what I would prefer. But we're not testing MPI here, we just need something that works, and if that's MPICH then I'm happy to use it for the CI.

We could get a mac, but the mac CI is actually passing 😄. And I guess it won't emulate a CUDA GPU, will it? Because that's another reason to have our own machine, so that we can test the GPU codes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants