Ignore:
Timestamp:
Jul 23, 2024, 8:22:55 AM (4 months ago)
Author:
abarral
Message:

Handle DEBUG_IO in lmdz_cppkeys_wrapper.F90
Transform some files .F -> .[fF]90
[ne compile pas à cause de writefield_u non défini - en attente de réponse Laurent]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3dmem/dynredem_loc.F90

    r5100 r5101  
    1111  USE strings_mod, ONLY: maxlen
    1212  USE infotrac, ONLY: nqtot, tracers
    13   USE netcdf, ONLY: nf90_create, nf90_def_dim, NF90_INQ_VARID, nf90_global,    &
     13  USE netcdf, ONLY: nf90_create, nf90_def_dim, nf90_inq_varid, nf90_global,    &
    1414                    nf90_close,  nf90_put_att, nf90_unlimited, nf90_clobber,   &
    1515                    nf90_64bit_offset
     
    178178  USE infotrac, ONLY: nqtot, tracers, type_trac
    179179  USE control_mod
    180   USE netcdf,   ONLY: nf90_open,  nf90_nowrite, nf90_get_var, NF90_INQ_VARID,  &
    181                       nf90_close, NF90_WRITE,   nf90_put_var, nf90_noerr
     180  USE netcdf,   ONLY: nf90_open,  nf90_nowrite, nf90_get_var, nf90_inq_varid,  &
     181                      nf90_close, nf90_write,   nf90_put_var, nf90_noerr
    182182  USE dynredem_mod, ONLY: dynredem_write_u, dynredem_write_v, dynredem_read_u, &
    183183                          err, modname, fil, msg
     
    213213  IF(mpi_rank==0) THEN !++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    214214  modname='dynredem1_loc'; fil=fichnom
    215   CALL err(nf90_open(fil,NF90_WRITE,nid),"open",fil)
     215  CALL err(nf90_open(fil,nf90_write,nid),"open",fil)
    216216
    217217!--- Write/extend time coordinate
    218218  nb = nb + 1
    219219  var="temps"
    220   CALL err(NF90_INQ_VARID(nid,var,vID),"inq",var)
     220  CALL err(nf90_inq_varid(nid,var,vID),"inq",var)
    221221  CALL err(nf90_put_var(nid,vID,[time]),"put",var)
    222222  WRITE(lunout,*)TRIM(modname)//": Saving for ", nb, time
     
    224224!--- Rewrite control table (itaufin undefined in dynredem0)
    225225  var="controle"
    226   CALL err(NF90_INQ_VARID(nid,var,vID),"inq",var)
     226  CALL err(nf90_inq_varid(nid,var,vID),"inq",var)
    227227  CALL err(nf90_get_var(nid,vID,tab_cntrl),"get",var)
    228228  tab_cntrl(31)=DBLE(itau_dyn + itaufin)
    229   CALL err(NF90_INQ_VARID(nid,var,vID),"inq",var)
     229  CALL err(nf90_inq_varid(nid,var,vID),"inq",var)
    230230  CALL err(nf90_put_var(nid,vID,tab_cntrl),"put",var)
    231231  END IF               !++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     
    253253!$OMP MASTER     
    254254      fil="start_trac.nc"
    255       ierr=NF90_INQ_VARID(nid_trac,var,vID_trac)
     255      ierr=nf90_inq_varid(nid_trac,var,vID_trac)
    256256      dum='inq'; IF(ierr==nf90_noerr) dum='fnd'
    257257      WRITE(lunout,*)msg(dum,var)
Note: See TracChangeset for help on using the changeset viewer.