From d1698589f22daf2eecf518724e27a114b333c6cf Mon Sep 17 00:00:00 2001 From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr> Date: Wed, 26 Jan 2022 09:14:26 +0100 Subject: [PATCH] Philippe 26/01/2022: OpenACC: workaround CCE compiler problem: disable a kernel region --- src/MNH/rain_ice_red.f90 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MNH/rain_ice_red.f90 b/src/MNH/rain_ice_red.f90 index 39cf807e9..f82d14821 100644 --- a/src/MNH/rain_ice_red.f90 +++ b/src/MNH/rain_ice_red.f90 @@ -1615,7 +1615,8 @@ END IF IF (KRR==7) THEN !PW: probably not working (see ELSE branch) CALL PRINT_MSG(NVERB_WARNING,'GEN','RAIN_ICE_RED','OpenACC: KRR=7 not yet tested') -!$acc kernels +!PW:BUG: CCE 13.0.0 crash if kernels region is enabled here +!acc kernels IDX = 0 DO JK=1,SIZE(ODMICRO,3) DO JJ=1,SIZE(ODMICRO,2) @@ -1641,7 +1642,7 @@ IF (KRR==7) THEN END DO END DO END DO -!$acc end kernels +!acc end kernels ELSE !PW: BUG: this should work... -- GitLab