Skip to content

Commit

Permalink
Need the same work-around we use for INTEL_LLVM and NVHPC also for NAG.
Browse files Browse the repository at this point in the history
  • Loading branch information
theurich committed Oct 25, 2024
1 parent bb0c56f commit 9b830ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/addon/ESMX/Driver/ESMX_Driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ subroutine SetModelServices(driver, rc)

if (inCompDef) then
! add child component with SetVM and SetServices in CompDef
#if defined (__INTEL_LLVM_COMPILER) || (__NVCOMPILER)
!TODO: remove once IFX, NVHPC, and PGI compilers work correctly w/o work-around
#if defined (__INTEL_LLVM_COMPILER) || defined (__NVCOMPILER) || defined (NAGFOR)
!TODO: remove once IFX, NVHPC, and NAG compilers work correctly w/o work-around
call NUOPC_DriverAddGridCompPtr(driver, trim(compLabel), hconfig=hconfig, &
compSetServicesRoutine=CompDef(j)%ssPtr, compSetVMRoutine=CompDef(j)%svPtr, &
info=info, petList=petList, devList=devList, comp=comp, rc=rc)
Expand Down
4 changes: 2 additions & 2 deletions src/addon/NUOPC/src/NUOPC_Driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module NUOPC_Driver

! Generic methods
public NUOPC_DriverAddComp
#if defined (__INTEL_LLVM_COMPILER) || (__NVCOMPILER)
#if defined (__INTEL_LLVM_COMPILER) || defined (__NVCOMPILER) || defined (NAGFOR)
public NUOPC_DriverAddGridCompPtr !TODO: remove once compliers are fixed
#endif
public NUOPC_DriverAddRunElement
Expand Down Expand Up @@ -4526,7 +4526,7 @@ recursive subroutine FinalizeReset(driver, importState, exportState, clock, rc)
!-----------------------------------------------------------------------------
!-----------------------------------------------------------------------------

#if defined (__INTEL_LLVM_COMPILER) || defined (__NVCOMPILER)
#if defined (__INTEL_LLVM_COMPILER) || defined (__NVCOMPILER) || defined (NAGFOR)
!-----------------------------------------------------------------------------
!BOPI
! !IROUTINE: NUOPC_DriverAddComp - Add a GridComp child to a Driver using procedure pointers
Expand Down

0 comments on commit 9b830ff

Please sign in to comment.