New URL for NEMO forge!

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.
#1882 (Write restart file using XIOS) – NEMO

Opened 7 years ago

Closed 6 years ago

Last modified 2 years ago

#1882 closed Task (worksforme)

Write restart file using XIOS

Reported by: andmirek Owned by: andmirek
Priority: low Milestone: Unscheduled
Component: OCE Version: v3.6
Severity: minor Keywords: Miscellaneous OPA v3.6



XIOS offers a parallel interface to write the data. This interface can be used to write restart file


In NEMO each processor independently writes restart file. As long as model decomposition stays the same this offers an efficient way to write restart. With increasing number of processors this method may be inefficient and put stress on the file system because of the large number of small files opened at the same time. By default XIOS is used to write diagnostic from the model. The same interface may be used to write restart file. The interface would be an addition to the existing functionality, activated through the namelist.



Commit History (5)


#1882 works with AGRIF and few small fixes/changes


#1882 no need to define context in iodef.xml


#1882 New way of defining what is in restart file


#1882 a first working version with XIOS writing restart file. Works with MO suite u-am389


#1882 wite restart with xios

Change History (7)

comment:1 Changed 7 years ago by andmirek

First working version of the code committed branches/UKMO/dev_r7573_xios_write:

Regarding restart file, the file is open one time step before the time to write. And on this time step all calls to write subroutines are executed, followed by exactly the same calls on the next time step. In the code in the branch restart is set active on time step on which the restart is written to a file.

comment:2 Changed 7 years ago by andmirek

Restart write is protected with 'if' statement so data is written only 1 time.

For some reason AGRIF compilation fails when 'unit=' is present in call to one of XIOS functions (CALL xios_set_axis_attr( ... )). Information about units for vertical grid is set in "long name" value.

comment:3 Changed 6 years ago by clevy

  • Owner changed from nemo to andmirek
  • Type changed from Enhancement to Task

comment:4 Changed 6 years ago by andmirek

  • Resolution set to worksforme
  • Severity set to minor
  • Status changed from new to closed

comment:5 Changed 6 years ago by nemo

  • Keywords Misc. added

comment:6 Changed 6 years ago by nemo

  • Keywords Misc. removed

comment:7 Changed 2 years ago by nemo

  • Keywords Miscellaneous OPA v3.6 added
Note: See TracTickets for help on using tickets.