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 13099 for branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90 – NEMO

Ignore:
Timestamp:
2020-06-12T12:56:41+02:00 (2 years ago)
Author:
jcastill
Message:

Changes to allow the use of a later OASIS and xios 2.0 version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90

    r7471 r13099  
    231231                  IF( ln_ctl ) WRITE(numout,*) "Define", ji, jc, jm, " "//TRIM(zclname), " for ", OASIS_Out 
    232232                  CALL oasis_def_var (ssnd(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 0 /),   & 
    233                      &                OASIS_Out          , ishape , OASIS_REAL, nerror ) 
     233                     &                OASIS_Out          , RESHAPE(ishape, (/4/)) , OASIS_REAL, nerror ) 
    234234                  IF ( nerror /= OASIS_Ok ) THEN 
    235235                     WRITE(numout,*) 'Failed to define transient ', ji, jc, jm, " "//TRIM(zclname) 
     
    276276                  IF( ln_ctl ) WRITE(numout,*) "Define", ji, jc, jm, " "//TRIM(zclname), " for ", OASIS_In 
    277277                  CALL oasis_def_var (srcv(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 0 /),   & 
    278                      &                OASIS_In           , ishape , OASIS_REAL, nerror ) 
     278                     &                OASIS_In           , RESHAPE(ishape, (/4/)) , OASIS_REAL, nerror ) 
    279279                  IF ( nerror /= OASIS_Ok ) THEN 
    280280                     WRITE(numout,*) 'Failed to define transient ', ji, jc, jm, " "//TRIM(zclname) 
Note: See TracChangeset for help on using the changeset viewer.