From c74ed251a9d0b81919b7d1b2343eeb5f75abfa33 Mon Sep 17 00:00:00 2001
From: Juan Escobar <juan.escobar@aero.obs-mip.fr>
Date: Wed, 19 Mar 2014 16:16:08 +0000
Subject: [PATCH] Juan 20/12/2013: add -ilp64 for MPIINTEL and MNH_INT=I8

---
 src/Rules.LXifort.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Rules.LXifort.mk b/src/Rules.LXifort.mk
index 665a13107..18e420ccc 100644
--- a/src/Rules.LXifort.mk
+++ b/src/Rules.LXifort.mk
@@ -77,6 +77,9 @@ endif
 else
 ifeq "$(VER_MPI)" "MPIINTEL"
 F90 = mpiifort
+ifeq "$(MNH_INT)" "I8"
+OPT_BASE         += -ilp64
+endif
 else
 F90 = ifort
 endif
-- 
GitLab