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 10380 for NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/TOP – NEMO

Ignore:
Timestamp:
2018-12-11T09:27:54+01:00 (5 years ago)
Author:
smasson
Message:

dev_r10164_HPC09_ESIWACE_PREP_MERGE: iom cleaning: (1) get rid of jpnf90, jprstlib, jlibalt, iolib and (2) improve iom_getatt and iom_putatt, see #2133

Location:
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/TOP
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/TOP/PISCES/SED/sedrst.F90

    r10345 r10380  
    7878         IF(lwp) WRITE(numsed,*) & 
    7979             '             open sed restart.output NetCDF file: ',TRIM(clpath)//clname 
    80          CALL iom_open( TRIM(clpath)//TRIM(clname), numrsw, ldwrt = .TRUE., kiolib = jprstlib, kdlev = jpksed ) 
     80         CALL iom_open( TRIM(clpath)//TRIM(clname), numrsw, ldwrt = .TRUE., kdlev = jpksed ) 
    8181         lrst_sed = .TRUE. 
    8282      ENDIF 
     
    105105      CHARACTER(len = 20) ::   cltra 
    106106      CHARACTER(LEN=20)   ::   name1 
    107       INTEGER             ::   jlibalt = jprstlib 
    108107      LOGICAL             ::   llok 
    109108      !-------------------------------------------------------------------- 
     
    338337      CHARACTER(len=*), INTENT(in) ::   cdrw       ! "READ"/"WRITE" flag 
    339338      ! 
    340       INTEGER  ::  jlibalt = jprstlib 
    341339      LOGICAL  ::  llok 
    342340      REAL(wp) ::  zkt, zrdttrc1 
     
    353351 
    354352         IF( ln_rst_sed ) THEN 
    355             CALL iom_open( TRIM(cn_sedrst_indir)//'/'//cn_sedrst_in, numrsr, kiolib = jlibalt ) 
     353            CALL iom_open( TRIM(cn_sedrst_indir)//'/'//cn_sedrst_in, numrsr ) 
    356354            CALL iom_get ( numrsr, 'kt', zkt )   ! last time-step of previous run 
    357355 
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/TOP/TRP/trdmxl_trc_rst.F90

    r10068 r10380  
    5454         IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
    5555         IF(lwp) WRITE(numout,*) '             open ocean restart_mld_trc NetCDF  'TRIM(clpath)//TRIM(clname) 
    56          CALL iom_open( TRIM(clpath)//TRIM(clname), nummldw_trc, ldwrt = .TRUE., kiolib = jprstlib ) 
     56         CALL iom_open( TRIM(clpath)//TRIM(clname), nummldw_trc, ldwrt = .TRUE. ) 
    5757      ENDIF 
    5858 
     
    127127      CHARACTER (len=35) :: charout 
    128128      INTEGER ::  jk, jn, jl     ! loop indice 
    129       INTEGER ::  jlibalt = jprstlib 
    130129      LOGICAL ::  llok 
    131130      CHARACTER(LEN=256)  ::   clpath   ! full path to restart file 
     
    140139      clpath = TRIM(cn_trcrst_indir) 
    141140      IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 
    142       CALL iom_open( TRIM(clpath)//TRIM(cn_trdrst_trc_in), inum, kiolib = jlibalt )  
     141      CALL iom_open( TRIM(clpath)//TRIM(cn_trdrst_trc_in), inum )  
    143142       
    144143      IF( ln_trdmxl_trc_instant ) THEN  
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/TOP/trcrst.F90

    r10345 r10380  
    8787         IF(lwp) WRITE(numout,*) & 
    8888             '             open trc restart.output NetCDF file: ',TRIM(clpath)//clname 
    89          CALL iom_open( TRIM(clpath)//TRIM(clname), numrtw, ldwrt = .TRUE., kiolib = jprstlib ) 
     89         CALL iom_open( TRIM(clpath)//TRIM(clname), numrtw, ldwrt = .TRUE. ) 
    9090         lrst_trc = .TRUE. 
    9191      ENDIF 
     
    184184      CHARACTER(len=*), INTENT(in) ::   cdrw       ! "READ"/"WRITE" flag 
    185185      ! 
    186       INTEGER  ::  jlibalt = jprstlib 
    187186      LOGICAL  ::  llok 
    188187      REAL(wp) ::  zrdttrc1, zkt, zndastp, zdayfrac, ksecs, ktime 
     
    199198 
    200199         IF( ln_rsttr ) THEN 
    201             CALL iom_open( TRIM(cn_trcrst_indir)//'/'//cn_trcrst_in, numrtr, kiolib = jlibalt ) 
     200            CALL iom_open( TRIM(cn_trcrst_indir)//'/'//cn_trcrst_in, numrtr ) 
    202201            CALL iom_get ( numrtr, 'kt', zkt )   ! last time-step of previous run 
    203202 
Note: See TracChangeset for help on using the changeset viewer.