-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add a CUDA devcontainer #751
Conversation
The issue is that Python is not installed. extern_parameters.H is generated by a Python script inside Microphysics. |
I see. I thought since we are not using matplotlib in GPU runs, we don't need to install Python. |
No, unfortunately Python is a required build-time dependency now, since it is required by Microphysics. |
We should probably update the README to note that Python is required, rather than optional. |
I've created a PR to update the README: #753 |
@BenWibking did you make it work? I got the following error:
I also tried a few other images on this page and got the same error. |
The full list is here: https://catalog.ngc.nvidia.com/orgs/nvidia/containers/nvhpc/tags. I am able to download the
|
Maybe it's a trans-Pacific internet latency issue? Can you try again and see if it works? |
It's probably internet issue because the errors are not consistent among multiple tries. If you tested it and it worked fine, you can approve this PR if you want. I'll do more tests in another time. |
With
This can be fixed later. |
|
@markkrumholz Can you approve this? This PR need your approval before it can be merged because both Ben and I have pushed. |
Description
Adds a new CUDA devcontainer. Now you can choose from
gcc-container
andcuda-container
.When using the default compiler and MPI library in the CUDA container, it is necessary to add these options to the CMake configuration flags when building Quokka:
For details on
CMAKE_TEST_LAUNCHER
, see:Related issues
Closes #745.
Checklist
Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an
x
inside the square brackets[ ]
in the Markdown source below:/azp run
.