Skip to content
Snippets Groups Projects
Commit 1f877694 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 05/04/2022: OpenACC: ZSOLVER: modification to get correct result with ZRESI

parent 969f19aa
No related branches found
No related tags found
1 merge request!4Jean Wurtz 30/04/2025 : Bugfixes mainly for TEB and for simple precision
......@@ -181,7 +181,7 @@ CALL MNH_MEM_GET( ZWC, IIU, IJU, IKU )
CALL MNH_MEM_GET( Z1, IIU, IJU, IKU )
CALL MNH_MEM_GET( Z2, IIU, IJU, IKU )
CALL MNH_MEM_GET( Z3, IIU, IJU, IKU )
!$acc data present(ZUC,ZVC,ZWC,Z1,Z2,Z3)
!$acc data present( ZUC, ZVC, ZWC, Z1, Z2, Z3 ) copyout( PGDIV )
#endif
!
GWEST = ( HLBCX(1) /= 'CYCL' .AND. LWEST_ll() )
......
......@@ -719,11 +719,13 @@ ELSE
A_K,B_K,C_K,D_K)
!
CASE('ZRESI') ! Conjugate Residual method
!$acc update host( ZDV_SOURCE, ZPHIT, ZTHETAV )
CALL CONRESOLZ(HLBCX,HLBCY,PDXX,PDYY,PDZX,PDZY,PDZZ,PRHODJ,ZTHETAV, &
PDXHATM,PDYHATM,PRHOT,PAF,PBF,PCF,PTRIGSX,PTRIGSY, &
KIFAXX,KIFAXY,KITR,ZDV_SOURCE,ZPHIT, &
PBFB,&
PBF_SXP2_YP1_Z) !JUAN Z_SPLITING
!$acc update device( ZPHIT )
END SELECT
END IF
!
......
......@@ -310,6 +310,7 @@ CALL ADD3DFIELD_ll( TZFIELDS_ll, ZW, 'QLAP::ZW' )
CALL UPDATE_HALO_ll(TZFIELDS_ll,IINFO_ll)
CALL CLEANLIST_ll(TZFIELDS_ll)
!
!$acc update device( ZU, ZV, ZW )
CALL GDIV(HLBCX,HLBCY,PDXX,PDYY,PDZX,PDZY,PDZZ,ZU,ZV,ZW,PQLAP)
!
IF (LIBM) THEN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment