Skip to content

Commit

Permalink
Merge pull request #192 from ecmwf-ifs/hotfix/1.5.1
Browse files Browse the repository at this point in the history
[HOTFIX] Fix precision of PGW argument in gpu/TRANS_INQ
  • Loading branch information
wdeconinck authored Dec 19, 2024
2 parents ed88c5a + 18ec8c7 commit 163ae8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.5.1
2 changes: 1 addition & 1 deletion src/trans/cpu/external/trans_inq.F90
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ SUBROUTINE TRANS_INQ(KRESOL,KSPEC,KSPEC2,KSPEC2G,KSPEC2MX,KNUMP,&
IF(UBOUND(PGW,1) < R%NDGL) THEN
CALL ABORT_TRANS('TRANS_INQ: PGW TOO SMALL')
ELSE
PGW(1:R%NDGL) = F%RW
PGW(1:R%NDGL) = REAL(F%RW,JPRB)
ENDIF
ENDIF

Expand Down
4 changes: 2 additions & 2 deletions src/trans/gpu/external/trans_inq.F90
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ SUBROUTINE TRANS_INQ(KRESOL,KSPEC,KSPEC2,KSPEC2G,KSPEC2MX,KNUMP,&
INTEGER(KIND=JPIM) ,OPTIONAL, INTENT(OUT) :: KNMENG(:)

REAL(KIND=JPRD) ,OPTIONAL, INTENT(OUT) :: PMU(:)
REAL(KIND=JPRD) ,OPTIONAL, INTENT(OUT) :: PGW(:)
REAL(KIND=JPRB) ,OPTIONAL, INTENT(OUT) :: PGW(:)
REAL(KIND=JPRB) ,OPTIONAL, INTENT(OUT) :: PRPNM(:,:)
INTEGER(KIND=JPIM) ,OPTIONAL, INTENT(OUT) :: KLEI3
INTEGER(KIND=JPIM) ,OPTIONAL, INTENT(OUT) :: KSPOLEGL
Expand Down Expand Up @@ -417,7 +417,7 @@ SUBROUTINE TRANS_INQ(KRESOL,KSPEC,KSPEC2,KSPEC2G,KSPEC2MX,KNUMP,&
IF(UBOUND(PGW,1) < R%NDGL) THEN
CALL ABORT_TRANS('TRANS_INQ: PGW TOO SMALL')
ELSE
PGW(1:R%NDGL) = F%RW
PGW(1:R%NDGL) = REAL(F%RW,JPRB)
ENDIF
ENDIF

Expand Down

0 comments on commit 163ae8e

Please sign in to comment.