-
Notifications
You must be signed in to change notification settings - Fork 108
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
CI failures due to missing MPI compilers? #419
Comments
That didn't work. |
Well this is preventing any merges, so what shall we do here? |
@kgerheiser any ideas how to proceed? |
I tried enabling C++ in the project to see if that has any affect. It still fails. I guess it really can't find MPI for some reason. I'm not sure what the problem is. |
I see this warning from Homebrew when installing Mpich https://github.com/kgerheiser/UFS_UTILS/runs/2148896474?check_suite_focus=true#step:2:33 |
@aerorahul any thoughts as to why our CI suddenly stopped working on macs? We are getting this error from UFS_UTIL cmake build:
|
I added mpicc --version and mpifort --version commands before we attempt to build, and both are present on the machine. So what is wrong with our CMake?
|
really quickly:
|
Looks like @kgerheiser tried that. |
@edwardhartnett I was going to try that, but it seems like MPI is working. @aerorahul I tried enabling C++, but that doesn't fix it. I'm installing OpenMPI instead of MPICH and we'll see if that works. |
Using OpenMPI instead of MPICH works. https://github.com/kgerheiser/UFS_UTILS/actions/runs/668152558 |
OK, good that we got OpenMPI working. But we also need MPICH to work. ;-) (Just added an issue for this #425 ). |
Tried using |
Here's a workflow in which I build mpich from source (without homebrew being involved). Maybe use that? https://github.com/NCAR/ParallelIO/blob/master/.github/workflows/netcdf-4.7.4_hdf5-1.12.0_pnetcdf-12.2_ncint_mpich-3.3_asan.yml |
Trying the MPICH build now |
I note the more primitive methods of the PIO builds (which don't use matrices well withing the github YML) have the advantage that even if one build fails, the others work. In the case of these builds, a failure on MacOS causes all tests to fail. It's not something we should change, just interesting to note... |
Yeah, I've noticed that. I don't like how it cancels all jobs in the workflow (Ubuntu) if one of them fails. |
Did we ever figure out why the stock mpi didn't work? |
I'm not sure. |
What is the current state of play?
Really, we need all of these to work. Also we need to make clear what version of MPICH we are building. |
MPICH is installed from source instead of Homebrew on macOS. I'm adding OpenMPI as a separate PR. |
OK do we still have an ubuntu build using mpich from the package management system? |
Yes |
@kgerheiser any idea what is going on here? CI seems to be messed up..
The text was updated successfully, but these errors were encountered: