From 39055d4f02ca7f2b0e0e59fb040cff303ed3991f Mon Sep 17 00:00:00 2001
From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr>
Date: Thu, 21 Nov 2019 11:32:45 +0100
Subject: [PATCH] Philippe 21/11/2019: OpenACC: disable some declare copyin
 (workaround for PGI compiler crash)

---
 src/MNH/rain_ice.f90 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/MNH/rain_ice.f90 b/src/MNH/rain_ice.f90
index fd499ed54..f32e1f4bd 100644
--- a/src/MNH/rain_ice.f90
+++ b/src/MNH/rain_ice.f90
@@ -464,8 +464,8 @@ LOGICAL :: GPRESENT_PFPR,GPRESENT_PSEA
 !$acc &           ZT,      &
 !$acc &           I1,I2,I3 )
 #else
-#if 1
-!Disabled if PGI 19.5 bug (crash of the compiler)
+#if 0
+!Disabled if PGI 19.5 to 19.10 bug (crash of the compiler)
 !$acc declare copyin(XCI, XCL, XCPD, XCPV, XLSTT, XLVTT, XTT, &
 !$acc &                          XALPI, XBETAI, XGAMI, XMD, XMV, XTT,&
 ! !$acc &                        LLES_CALL,&
-- 
GitLab