#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)
Change History (6)
Changed 9 years ago by lambertn
comment:1 Changed 9 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 7 years ago by nemo
- Keywords release-3.6* added; nemo_v3_6* removed
comment:4 Changed 7 years ago by nemo
- Keywords release-3.6* removed
comment:5 Changed 3 years ago by nemo
- Keywords OPA v3.6 added
My file with the working modification.