From e34af44a5010cfdc59b2926398f7c8a8384c274f Mon Sep 17 00:00:00 2001 From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr> Date: Tue, 13 Feb 2018 11:18:28 +0100 Subject: [PATCH] Philippe 13/02/2018: comment OpenMP include/use if compiled without OpenMP --- src/SURFEX/hvac_autosize.F90 | 4 ++-- src/SURFEX/modd_surfex_omp.F90 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SURFEX/hvac_autosize.F90 b/src/SURFEX/hvac_autosize.F90 index b600627f5..8853dd1c5 100644 --- a/src/SURFEX/hvac_autosize.F90 +++ b/src/SURFEX/hvac_autosize.F90 @@ -52,13 +52,13 @@ USE YOMHOOK ,ONLY : LHOOK, DR_HOOK USE PARKIND1 ,ONLY : JPRB ! #ifdef AIX64 -USE OMP_LIB +!$ USE OMP_LIB #endif ! IMPLICIT NONE ! #ifndef AIX64 - INCLUDE 'omp_lib.h' +!$ INCLUDE 'omp_lib.h' #endif ! !* 0.1 Declaration of arguments diff --git a/src/SURFEX/modd_surfex_omp.F90 b/src/SURFEX/modd_surfex_omp.F90 index 506baa3df..76ed2e96a 100644 --- a/src/SURFEX/modd_surfex_omp.F90 +++ b/src/SURFEX/modd_surfex_omp.F90 @@ -36,13 +36,13 @@ USE YOMHOOK ,ONLY : LHOOK, DR_HOOK USE PARKIND1 ,ONLY : JPRB ! #ifdef AIX64 - USE OMP_LIB +!$ USE OMP_LIB #endif ! IMPLICIT NONE ! #ifndef AIX64 - INCLUDE 'omp_lib.h' +!$ INCLUDE 'omp_lib.h' #endif ! !RJ: this broke non openmp version before -- GitLab