From 0fe63019dc470a89eedb15a7f09613e99ce7edd3 Mon Sep 17 00:00:00 2001 From: Sam Hatfield Date: Thu, 19 Dec 2024 13:48:02 +0000 Subject: [PATCH 1/2] Fix precision of PGW argument in gpu/TRANS_INQ Also make the JPRD->JPRB conversion for F%RW->PGW explicit. --- src/trans/cpu/external/trans_inq.F90 | 2 +- src/trans/gpu/external/trans_inq.F90 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/trans/cpu/external/trans_inq.F90 b/src/trans/cpu/external/trans_inq.F90 index a67a69de2..ea0a91886 100644 --- a/src/trans/cpu/external/trans_inq.F90 +++ b/src/trans/cpu/external/trans_inq.F90 @@ -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 diff --git a/src/trans/gpu/external/trans_inq.F90 b/src/trans/gpu/external/trans_inq.F90 index fb540d949..39be06d2b 100755 --- a/src/trans/gpu/external/trans_inq.F90 +++ b/src/trans/gpu/external/trans_inq.F90 @@ -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 @@ -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 From 18ec8c70cdb2453e787615b06302615b534327bf Mon Sep 17 00:00:00 2001 From: Sam Hatfield Date: Thu, 19 Dec 2024 15:39:27 +0100 Subject: [PATCH 2/2] Bump version to 1.5.1 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index bc80560fa..26ca59460 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.0 +1.5.1