From ca9db2c10402f00827dcbef2a0b1ae586a7ee03f Mon Sep 17 00:00:00 2001
From: Gaelle Tanguy <gaelle.tanguy@meteo.fr>
Date: Thu, 10 Apr 2014 14:37:49 +0000
Subject: [PATCH] Gaelle 10/04/2014 : initialize CINIFILEPGD with CPGD_FILE if
 present

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

diff --git a/src/MNH/prep_ideal_case.f90 b/src/MNH/prep_ideal_case.f90
index 01f25ddd8..eb980e38f 100644
--- a/src/MNH/prep_ideal_case.f90
+++ b/src/MNH/prep_ideal_case.f90
@@ -690,8 +690,10 @@ IF( LEN_TRIM(CPGD_FILE) /= 0 ) THEN
   CALL FMREAD(CPGD_FILE,'IMAX',CLUOUT,'--',NIMAX,IGRID,ILENCH,YCOMMENT,IRESP)
   CALL FMREAD(CPGD_FILE,'JMAX',CLUOUT,'--',NJMAX,IGRID,ILENCH,YCOMMENT,IRESP)
   IF ( CPGD_FILE /= CINIFILEPGD) THEN
-    WRITE(NLUOUT,FMT=*) ' WARNING : in PRE_IDEA1.nam, in NAM_LUNITn you have CINIFILEPGD= ',CINIFILEPGD
-    WRITE(NLUOUT,FMT=*) ' whereas in NAM_REAL_PGD you have CPGD_FILE = ',CPGD_FILE
+    WRITE(NLUOUT,FMT=*) ' WARNING : in PRE_IDEA1.nam, in NAM_LUNITn you&
+                          have CINIFILEPGD= ',CINIFILEPGD
+    WRITE(NLUOUT,FMT=*) ' whereas in NAM_REAL_PGD you have CPGD_FILE = '&
+                          ,CPGD_FILE
     WRITE(NLUOUT,FMT=*) ' '
     WRITE(NLUOUT,FMT=*) ' CINIFILEPGD HAS BEEN SET TO  ',CPGD_FILE        
     CINIFILEPGD=CPGD_FILE
-- 
GitLab