-
Notifications
You must be signed in to change notification settings - Fork 37
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
Override mache yaml file for Anvil with Gnu and OpenMPI #539
Conversation
4a9e7e3
to
08dc193
Compare
TestingI successfully ran the See the directory:
|
@matthewhoffman, I'm leaving this in draft mode unil #523 gets merged but you can test this whenever you have time. |
08dc193
to
bee5462
Compare
@xylar , I tested this on Anvil with:
and got this error:
It is possible I didn't do something correctly though. I realize now that I probably should not be including the |
@matthewhoffman, yep, that's the moving target we were talking about. In the meantime, you will also need: |
I can rebase this onto #549 since it won't work without it. |
Constrain to CMake >=3.23.0 as required by Trilinos.
The old version of gcc on Anvil can't build Albany so we want to build our own library stack with a newer gcc.
bee5462
to
2541ef9
Compare
@matthewhoffman, please try again when you have time. |
@matthewhoffman, oh, dear! My ocean |
I might be doing something wrong, but when I use this command on Anvil:
I get this error:
But I think that makes sense, because the spack spec specifies 3.20.3, but we need >3.23. I checked and 3.20.3 is the newest cmake the system provides. I tried letting spack build cmake by removing the machine cmake from the spec:
but then got this error that I don't know what to make of:
|
Yes, I fixed that in #555 but didn't update this branch with the fix. Please use that branch instead. |
However, as I noted, it doesn't work for me when running on multiple nodes so I don't know that it's worth testing. |
Closing this to avoid confusion. |
This merge adds a yaml file for Anvil's Gnu and OpenMPI environment that uses a more recent
gcc
. This appears to be necessary on Anvil to avoid problems when compiling Albany withgcc
8.2.0, see:#523 (comment)
E3SM-Project/spack#12
Checklist
Testing
in this PR) any testing that was used to verify the changes