| 25 | |
| 26 | === Compilation with XIOS2 but running with old iodef.xml file === |
| 27 | |
| 28 | {{{ |
| 29 | 1> Error [template <typename T> void CEnum<T>::_fromString(const string& str)] : In file |
| 30 | '/ccc/scratch/cont003/dsm/p86ghatt/TRUSTING/ORCHIDEE/RUNDIR.v6/trunk_rev3525_20160612T1516/modipsl/modeles/XIOS/inc/enum_impl.hpp', |
| 31 | line 161 -> integer cannot be converted in a valid enumeration, possibilities are: bool, int16, int, int32, int64, float, double, string |
| 32 | }}} |
| 33 | |
| 34 | 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. |
| 35 | |
| 36 | To know which version of XIOS you installed, go to modipsl/modeles/XIOS and type '''svn info'''. If in the URL you have |
| 37 | * 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. |
| 38 | * XIOS/trunk : this is XIOS2. Copy the file iodef_xios2.xml into iodef.xml. Note to compile this version, add -xios2 to makeorchidee_fcm. |
| 39 | |
| 40 | |
| 41 | |