Skip to content

Commit 545a27a

Browse files
committed
changes needed for NAG compile
modified: hco_cam_convert_state_mod.F90 modified: hco_cam_exports.F90 modified: hco_esmf_grid.F90 modified: hemco_interface.F90
1 parent ebdacfa commit 545a27a

4 files changed

+10
-10
lines changed

hco_cam_convert_state_mod.F90

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__))call exit(-1)
2-
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__))call exit(-1)
1+
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__)) stop -1
2+
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__)) stop -1
33
!------------------------------------------------------------------------------
44
! Harmonized Emissions Component (HEMCO) !
55
!------------------------------------------------------------------------------

hco_cam_exports.F90

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__))call exit(-1)
2-
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__))call exit(-1)
1+
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__)) stop -1
2+
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__)) stop -1
33
!------------------------------------------------------------------------------
44
! Harmonized Emissions Component (HEMCO) !
55
!------------------------------------------------------------------------------
@@ -803,4 +803,4 @@ subroutine HCO_Export_Pbuf_CAM2D(fldname, hcoID, array)
803803
enddo
804804
end subroutine HCO_Export_Pbuf_CAM2D
805805
!EOC
806-
end module hco_cam_exports
806+
end module hco_cam_exports

hco_esmf_grid.F90

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__))call exit(-1)
2-
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__))call exit(-1)
1+
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__)) stop -1
2+
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__)) stop -1
33
!------------------------------------------------------------------------------
44
! Harmonized Emissions Component (HEMCO) !
55
!------------------------------------------------------------------------------
@@ -2188,4 +2188,4 @@ subroutine HCO_ESMF_Get3DField(field_in, data_out, IS, IE, JS, JE, KS, KE, flip)
21882188

21892189
end subroutine HCO_ESMF_Get3DField
21902190
!EOC
2191-
end module hco_esmf_grid
2191+
end module hco_esmf_grid

hemco_interface.F90

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__))call exit(-1)
2-
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__))call exit(-1)
1+
#define VERIFY_(A) if(.not.HCO_ESMF_VRFY(A,subname,__LINE__)) stop -1
2+
#define ASSERT_(A) if(.not.HCO_ESMF_ASRT(A,subname,__LINE__)) stop -1
33
!------------------------------------------------------------------------------
44
! Harmonized Emissions Component (HEMCO) !
55
!------------------------------------------------------------------------------

0 commit comments

Comments
 (0)