wiki:Documentation/UserGuide/ErrorMessages

Version 8 (modified by lathiere, 4 years ago) (diff)

--

Classical error message: restopenin

Author: ??
Last revised: 2020/03/19, J. Lathière

restopenin

Error message

FATAL ERROR FROM ROUTINE restopenin The longitude or latitude found in the restart file are not the same as the ones used in the model

Reason
The grid of the restart file does not correspond to grid you are currently running. It might be your run.def has different regional domain or another vertical discretization. It might also be the forcing file which has not the same resolution.

Solution
Change the forcing file, options in run.def or start again without using restart files.

Errors with XIOS

Bad declaration in field_def_orchidee.xml

1> Error [void CGrid::inputField(const  CArray<double,n>& field, CArray<double,1>& stored) const] : In file 
'/home/orchidee01/bguenet/ORCHIDEE-TRUNK-SOM/modeles/XIOS/inc/grid.hpp', line 166 -> 
[ Awaiting size of the data = 52, Received data size = 572 ] The array of data has not the good size ! 

A variable declared in field_def_orchidee.xml has not not the right dimension. The error occurs when the model comes to the CALL xios_orchidee_send_field and the variable send does not corresponds to what is declared in field_def_orchidee.xml. Unfortunately the error message does not tell which variable is concerned. In ORCHIDEE it is possible to set PRINTLEV=4 or higher in run.def. Each call to xios_orchidee_send_field will then write out the variable name. The last printed variable is the one which needs to be corrected in field_def_orchidee.xml.

Compilation with XIOS2 but running with old iodef.xml file

1> Error [template <typename T> void CEnum<T>::_fromString(const string& str)] : In file 
'/ccc/scratch/cont003/dsm/p86ghatt/TRUSTING/ORCHIDEE/RUNDIR.v6/trunk_rev3525_20160612T1516/modipsl/modeles/XIOS/inc/enum_impl.hpp', 
line 161 -> integer cannot be converted in a valid enumeration, possibilities are: bool, int16, int, int32, int64, float, double, string

This error message was due to an incompatibility of iodef.xml file and the version of XIOS. In ORCHIDEE/src_xml or in the config/ORCHIDEE_OL/xxx/PARAM, the 2 files iodef_xios1.xml and iodef_xios2.xml exist. Depending on the version of XIOS installed, you should copy the corresponding file into iodef.xml.

To know which version of XIOS you installed, go to modipsl/modeles/XIOS and type svn info. If in the URL you have

  • XIOS/branchs/xios-1.0 : this is XIOS1. Copy the file iodef_xios1.xml into iodef.xml. Note to compile this version, add -xios or -xios1 to makeorchidee_fcm.
  • XIOS/trunk : this is XIOS2. Copy the file iodef_xios2.xml into iodef.xml. Note to compile this version, add -xios2 to makeorchidee_fcm.