Skip to content

Commit 56ed028

Browse files
committed
New namelist option to switch on or off GPU-Aware MPI
Introducing a new namelist option under development, config_gpu_aware_mpi, which will control whether the OpenACC run of MPAS on GPUs will use GPU-aware MPI or do a device<->host update of variables around the call to a purely CPU- based halo exchange. Note: This feature is not available to use when config_halo_exch_method is set to 'mpas_dmpar'
1 parent acdba1c commit 56ed028

File tree

3 files changed

+73
-59
lines changed

3 files changed

+73
-59
lines changed

src/core_atmosphere/Registry.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,10 @@
392392
units="-"
393393
description="Method to use for exchanging halos"
394394
possible_values="`mpas_dmpar', `mpas_halo'"/>
395+
<nml_option name="config_gpu_aware_mpi" type="logical" default_value="false"
396+
units="-"
397+
description="Whether to use GPU-aware MPI for halo exchanges"
398+
possible_values=".true. or .false."/>
395399
</nml_record>
396400

397401
<!-- **************************************************************************************** -->

0 commit comments

Comments
 (0)