Skip to content

Commit

Permalink
Enable GPU-aware MPI by default
Browse files Browse the repository at this point in the history
This turns on GPU-aware MPI by default.

On all current machines, simulations run faster with GPU-aware MPI enabled. Two technical issues that prevented this are now resolved: AMReX now has the communication arena, which does not use managed memory, and SLURM no longer uses cgroup isolation for GPU bindings by default.

Closes #2967.
  • Loading branch information
BenWibking authored Jan 29, 2025
1 parent 69f1ac8 commit 73ead89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Base/AMReX_ParallelDescriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace amrex::ParallelDescriptor {
#endif

#ifdef AMREX_USE_GPU
bool use_gpu_aware_mpi = false;
bool use_gpu_aware_mpi = true;
#else
bool use_gpu_aware_mpi = false;
#endif
Expand Down

0 comments on commit 73ead89

Please sign in to comment.