earth-system-radiation / rte-rrtmgp

RTE+RRTMGP is a set of codes for computing radiative fluxes in planetary atmospheres.
BSD 3-Clause "New" or "Revised" License
74 stars 67 forks source link

Fix minmaxloc workaround #237

Closed skosukhin closed 9 months ago

skosukhin commented 9 months ago

This fixes the condition for the minmaxloc workaround:

  1. Cray compiler supports minloc and maxloc for OpenACC and OpenMP starting version 15.
  2. Nvidia compiler supports minloc and maxloc for OpenACC but not for OpenMP (see #113).