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.
#1664 (dimensions were reversed in XIOS1) – NEMO

Opened 8 years ago

Closed 8 years ago

Last modified 2 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: v3.6
Severity: Keywords: 2015 OPA v3.6
Cc:

Description

Since the revision 713 in XIOS1 (https://forge.ipsl.jussieu.fr/ioserver/browser/XIOS/branchs/xios-1.0?rev=713), 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 8 years ago.
My file with the working modification.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by lambertn

My file with the working modification.

comment:1 Changed 8 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: http://www.nemo-ocean.eu/Using-NEMO/User-Guides/Basics/XIOS-IO-server-installation-and-use, when using XIOS-1, the highest revision number to use for XIOS is 703 for now

comment:2 Changed 8 years ago by nicolasmartin

  • Keywords 2015 nemo_v3_6* added

comment:3 Changed 6 years ago by nemo

  • Keywords release-3.6* added; nemo_v3_6* removed

comment:4 Changed 6 years ago by nemo

  • Keywords release-3.6* removed

comment:5 Changed 2 years ago by nemo

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