From 584c9fd315ec5d40ce201e2a52b8c2c214fb0d97 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Tue, 4 Jun 2024 13:44:37 -0400 Subject: [PATCH] Add ifdef workaround --- docs/tutorial/driver_app/Example_Driver.F90 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/tutorial/driver_app/Example_Driver.F90 b/docs/tutorial/driver_app/Example_Driver.F90 index f974d002a624..c4c85f4949e5 100644 --- a/docs/tutorial/driver_app/Example_Driver.F90 +++ b/docs/tutorial/driver_app/Example_Driver.F90 @@ -5,6 +5,10 @@ program Example_Driver use MPI use MAPL +#ifdef __NVCOMPILER + ! Needed by NVIDIA but breaks Intel (see https://github.com/GEOS-ESM/MAPL/pull/2664) + use mapl_CapOptionsMod, only: MAPL_CapOptions +#endif implicit none type (MAPL_Cap) :: cap