New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 8243 for branches/UKMO/test_moci_test_suite/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2017-06-29T11:41:55+02:00 (7 years ago)
Author:
andmirek
Message:

#1914 working XIOS read, XIOS write and single processor read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/test_moci_test_suite/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r7924 r8243  
    5555   USE bdy_par          ! Require lk_bdy 
    5656   USE iom_def, ONLY : lxios_read 
     57   USE iom_def, ONLY : lwxios 
    5758 
    5859   IMPLICIT NONE 
     
    444445            &                    'at it= ', kt,' date= ', ndastp 
    445446         IF(lwp) WRITE(numout,*) '~~~~' 
    446          CALL iom_rstput( kt, nitrst, numrow, 'utau_b' , utau ) 
    447          CALL iom_rstput( kt, nitrst, numrow, 'vtau_b' , vtau ) 
    448          CALL iom_rstput( kt, nitrst, numrow, 'qns_b'  , qns  ) 
     447         IF( lwxios ) CALL iom_swap(      wxios_context          ) 
     448         CALL iom_rstput( kt, nitrst, numrow, 'utau_b' , utau, lxios = lwxios ) 
     449         CALL iom_rstput( kt, nitrst, numrow, 'vtau_b' , vtau, lxios = lwxios ) 
     450         CALL iom_rstput( kt, nitrst, numrow, 'qns_b'  , qns, lxios = lwxios  ) 
    449451         ! The 3D heat content due to qsr forcing is treated in traqsr 
    450452         ! CALL iom_rstput( kt, nitrst, numrow, 'qsr_b'  , qsr  ) 
    451          CALL iom_rstput( kt, nitrst, numrow, 'emp_b'  , emp  ) 
    452          CALL iom_rstput( kt, nitrst, numrow, 'sfx_b'  , sfx  ) 
     453         CALL iom_rstput( kt, nitrst, numrow, 'emp_b'  , emp, lxios = lwxios  ) 
     454         CALL iom_rstput( kt, nitrst, numrow, 'sfx_b'  , sfx, lxios = lwxios  ) 
     455         IF( lwxios ) CALL iom_swap(      cxios_context          ) 
    453456      ENDIF 
    454457 
Note: See TracChangeset for help on using the changeset viewer.