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

GPU-compatible platypus #3

Merged
merged 21 commits into from
Jul 17, 2024
Merged

GPU-compatible platypus #3

merged 21 commits into from
Jul 17, 2024

Conversation

Heinrich-BR
Copy link
Collaborator

This PR includes a script that builds all of the Platypus dependencies for the Ampere nodes on CSD3 using spack. It also adds to the MFEMProblem class a member which allows the user to choose which device to use in running a simulation. As long as the dependencies have been built with accelerator awareness (which the script does), it should run with GPU acceleration.

I have also added a variable in the diffusion_mfem.i test which allows the user to define the device at runtime. So far, the tested options for the device variable are device = cpu and device = cuda.

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/problem/MFEMProblem.C 85.01% <100.00%> (+0.17%) ⬆️
src/problem_builders/problem_builder_base.C 48.25% <ø> (ø)

@Heinrich-BR Heinrich-BR force-pushed the HenriqueBR/GPU_Tests branch from e2bd3a7 to b2b1f61 Compare July 9, 2024 12:43
@Heinrich-BR Heinrich-BR force-pushed the HenriqueBR/GPU_Tests branch from b2b1f61 to 52b137a Compare July 9, 2024 12:47
Copy link
Contributor

@alexanderianblair alexanderianblair left a comment

Choose a reason for hiding this comment

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

I've checked the build script runs and builds a GPU-compatible Platypus version successfully on CSD3 - looks OK this end.

@alexanderianblair alexanderianblair merged commit e9b88d3 into main Jul 17, 2024
14 checks passed
loganharbour pushed a commit to loganharbour/platypus that referenced this pull request Jan 7, 2025
…riqueBR/GPU_Tests

GPU-compatible platypus
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

Successfully merging this pull request may close these issues.

2 participants