Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#1664 closed Bug (wontfix)

dimensions were reversed in XIOS1

Reported by: lambertn Owned by: nemo
Priority: normal Milestone: 2015 release-3.6
Component: OCE Version: release-3.6
Severity: Keywords: 2015


Since the revision 713 in XIOS1 (, the XIOS need the axis bound dimension to be 2 X n. But in the file NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90, the variable z_bnds is allocated with [jpk,2] with the model XIOS1 (reversed dimensions). 

This cause the error :

Error [CAxis::checkAttributes(void)] : In file '/models/NEMO_v3.6/XIOS-1.0/src/node/axis.cpp', line 88 → The bounds array of the axis [ id = 'deptht' , context = 'nemo' ] must be of dimension axis 2 x size"

The simple solution I applied is to remove the conditions #if ! defined key_xios2 at the lines 108, 194 and 208. 

I attached my iom.f90 file where the lines that have to be remove are commented.

Commit History (0)

(No commits)

Attachments (1)

iom.F90 (98.1 KB) - added by lambertn 5 years ago.
My file with the working modification.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by lambertn

My file with the working modification.

comment:1 Changed 5 years ago by clevy

  • Resolution set to wontfix
  • Status changed from new to closed

This probably is a solution, but is very probably not the sustainable way to go. Indeed, as written here:, when using XIOS-1, the highest revision number to use for XIOS is 703 for now

comment:2 Changed 4 years ago by nicolasmartin

  • Keywords 2015 nemo_v3_6* added

comment:3 Changed 3 years ago by nemo

  • Keywords release-3.6* added; nemo_v3_6* removed

comment:4 Changed 3 years ago by nemo

  • Keywords release-3.6* removed
Note: See TracTickets for help on using tickets.