MPAS-Dev / MPAS-Model

Repository for MPAS models and shared framework releases.
238 stars 317 forks source link

Enable GPU execution of MPAS-Atmosphere of pre-acoustic step setup calculations #1222

Open gdicker1 opened 1 month ago

gdicker1 commented 1 month ago

The GPU calculation of the vertical wind speed (w field) that is used during the acoustics steps is enabled by adding OpenACC directives to the atm_set_smlstep_pert_variables_work routine.

Timing information for the OpenACC data transfers in this routine is captured in the log file by a new timer: atm_set_smlstep_pert_variables [ACC_data_xfer].

Invariant fields used in this routine are also copied to the device within mpas_atm_dynamics_init and are deleted in mpas_atm_dynamics_finalize.