Changeset 13033
- Timestamp:
- 2020-06-03T17:48:20+02:00 (5 years ago)
- Location:
- NEMO/branches/2020/dev_12905_xios_restart/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_12905_xios_restart/src/ICE/icerst.F90
r12969 r13033 214 214 215 215 lrixios = lrxios.AND.lxios_sini 216 IF(lwp) write(numout, *) 'USE XIOS to read restart: ', lrixios217 IF(lwp) CALL FLUSH(numout)218 216 IF( lrixios) THEN 219 217 crixios_context = 'si3_rst' -
NEMO/branches/2020/dev_12905_xios_restart/src/OCE/IOM/iom.F90
r13022 r13033 145 145 ALLOCATE( zt_bnds(2,jpk), zw_bnds(2,jpk) ) 146 146 ! 147 IF(lwp) write(numout, *) 'TEST IOM_INIT: ', TRIM(cdname),' File: ', TRIM(fname)148 IF(lwp) CALL FLUSH(numout)149 147 clname = cdname 150 148 IF( TRIM(Agrif_CFixed()) /= '0' ) clname = TRIM(Agrif_CFixed())//"_"//TRIM(cdname) … … 274 272 ! 275 273 ! automatic definitions of some of the xml attributs 276 IF(lwp) write(numout, *) 'TEST IOM_INIT: ', TRIM(cdname), TRIM(cdname) == TRIM(crixios_context)277 IF(lwp) CALL FLUSH(numout)278 274 IF(llrstr) THEN 279 275 IF(PRESENT(idfp)) THEN … … 319 315 LOGICAL :: llrstw 320 316 321 IF(lwp) write(numout, *) 'XIOS CLOSE definitions for: ', TRIM(cdname)322 317 llrstw = .FALSE. 323 318 IF(PRESENT(cdname)) THEN … … 378 373 clinfo = ' iom_set_vars_active, file: '//TRIM(cdfname) 379 374 380 IF(lwp) write(numout, *) TRIM(clinfo)381 IF(lwp) CALL FLUSH(numout)382 375 !set name of the restart file and enable available fields 383 376 CALL xios_get_handle("file_definition", filegroup_hdl ) … … 451 444 !set name of the restart file and enable available fields 452 445 IF(lwp) WRITE(numout,*) 'Setting restart filename (for XIOS write) to: ',cdrst_file 453 IF(lwp) CALL FLUSH(numout)454 446 CALL xios_get_handle("file_definition", filegroup_hdl ) 455 447 CALL xios_add_child(filegroup_hdl, file_hdl, 'wrestart') … … 494 486 495 487 IF(PRESENT(rd3)) THEN 496 IF(lwp) write(numout, *) TRIM(sdfield), ' 3D ', size(rd3,3)497 IF(lwp) CALL FLUSH(numout)498 488 CALL xios_set_attr (field_hdl, enabled = .TRUE., name = TRIM(sdfield), & 499 489 domain_ref="grid_N", axis_ref=TRIM(iom_axis(size(rd3, 3))), & … … 502 492 503 493 IF(PRESENT(rd2)) THEN 504 IF(lwp) write(numout, *) TRIM(sdfield), ' 2D'505 IF(lwp) CALL FLUSH(numout)506 494 CALL xios_set_attr (field_hdl, enabled = .TRUE., name = TRIM(sdfield), & 507 495 domain_ref="grid_N", prec = 8, operation = "instant") … … 509 497 510 498 IF(PRESENT(rd1)) THEN 511 IF(lwp) write(numout, *) TRIM(sdfield), ' 1D ', size(rd1,1)512 IF(lwp) CALL FLUSH(numout)513 499 CALL xios_set_attr (field_hdl, enabled = .TRUE., name = TRIM(sdfield), & 514 500 axis_ref=TRIM(iom_axis(size(rd1, 1))), prec = 8, operation = "instant") … … 516 502 517 503 IF(PRESENT(rd0)) THEN 518 IF(lwp) write(numout, *) TRIM(sdfield), ' 0D'519 IF(lwp) CALL FLUSH(numout)520 504 CALL xios_set_attr (field_hdl, enabled = .TRUE., name = TRIM(sdfield), & 521 505 scalar_ref = "grid_scalar", prec = 8, operation = "instant") … … 1894 1878 !!---------------------------------------------------------------------- 1895 1879 clname = cdname 1896 IF(lwp) write(numout, *) 'Finalize: ', TRIM(cdname)1897 1880 IF( TRIM(Agrif_CFixed()) .NE. '0' ) clname = TRIM(Agrif_CFixed())//"_"//clname 1898 1881 IF( xios_is_valid_context(clname) ) THEN
Note: See TracChangeset
for help on using the changeset viewer.