wiki:SourceCode

Version 35 (modified by jgipsl, 10 years ago) (diff)

--

DocumentationMain VersionOther VersionsScriptsForcingsEvaluationToolsHow toMeetingsSeminarsUserListContact

trunk

The trunk is the main version of ORCHIDEE where all developements are integreted before a tag is created. See the trunk here. New branches will, from now on, be created as a copy from the trunk. See below the main changes in the trunk. All modifications that change the results should be mentioned in this list. The complete list of all modifications at the trunk can be seen in the svn log. Follow also modifications on the offline configurations trunk/ORCHIDEE_OL.

News :

  • While compiling LMDZ with the trunk ORCHIDEE, preprocessor flag ORCHIDEE_NOOPENMP must be removed from main makefile of LMDZ, see below in section download.
  • Now compiling is done in modeles/ORCHIDEE using "gmake driver". See below how to extract and compile the trunk
  • The trunk can not use tagged version v2_2_1 or earlier of IOIPSL(since rev 511 ?). Revision 2020 or later of IOIPSL/trunk/src must be used.

Main changes on the trunk

  • rev 1788 : Added interface to XIOS
  • rev 1772 : Corrected bug for variable dss in sechiba_out_2.nc file
  • rev 1615 : double all OMP_BARRIER to fixe a bug with openmp parallelisation
  • rev 1383 : Changed default values for vc_max_opt and vj_max_opt parameters. Results change.
  • rev 1280 : Bug correction for spinup analytic for case forcing cycle less than 7 years.
  • rev 1263 and rev 1262: Updated teststomate due to commit 1078. Teststomate can now run in sequential and parallel MPI mode.
  • rev 1229 : Bug fix : forcesoil can now again run in parallele MPI mode.
  • rev 1224 : Added possibility to read the vertical structure of the forcing data from the forcing file itself. No change in results.
  • rev 1172 : Added writting of evapot_corr in restart - and initialisation by reading the restart or parameter file - Little change in the results
  • rev 1170 : Added extra dimension. No change in results.
  • rev 1102 : Merged new phenology branch into the trunk. Use with caution. Some changes are expected in stomate outputs (tropics especially). Please, look at Branches/ORCHIDEE-NEWPHENO for more details.
  • rev 1100 : Merged Spinup_analytical branch into the trunk. The analytical spin-up is optional, so no changes in results. See Branches/AccelerationSpinup for more information.
  • rev 1091 : Correction of the carbon CMOR output C3PftFrac. Changes in stomate IPCC outputs.
  • rev 1082 : Added externalization for CWRR parameters. Some obsolete parameters were removed and some equations in Choisnel have been simplified. Implies some little changes in the results.
  • rev 1078 : Added modifications for OpenMP. The interface intersurf_gathered was changed. The interface intersurf_gathered_2m was removed and variables q2m and t2m are integrated in the first interface as optional variables. The new interface was already added in LMDZ but the preprossor key ORCHIDEE_NOOPENMP must be removed to use this new interface. MPI parallelization is guaranteed but OpenMP is still under validation and debugging phase. Compiling and running is still done in mode MPI only. Teststomate has not been adapted to run with these modifications and cannot be used before update.
  • rev 1042 : Re-organization 1 : moved driver source code from ORCHIDEE_OL into ORCHIDEE/src_driver
  • rev 1028 : Corrected bug for routing in coupled and offline mode. The bug was introduced in rev 947
  • rev 949 : Small correction needed to compile at Vargas/IDRIS
  • rev 947 : Inclusion of the developements from branches/Hydrology => Change in results. The routing does not work in coupled mode as the case was at branche Hydrology. See notes for validation here.
  • rev 945 : Bug correction due to inverse loop
  • rev 890 :
    • Start inclusion of COV
    • Modification in initialization of lai if it is not in restart file and for the cas read_lai. Ligne 1051 in slowproc. => Change in results.
    • This revision do not run in coupled mode with currrent LMDZ due to modification in interface.
  • rev 875 : Created the tag 1.9.6 as a copy of this revision Tag 1.9.6
  • rev 864 : Specific leaf area (SLA) is prescribed => Change in results.
  • rev 861 : Correct solarang and time_zone functions. => May change results (not for LMDZ-OR at vargas)
  • Change in diagnostics (history) files in some revisions between 720-740.
  • rev 511 : Included externalization branch in the trunk => Change in results.
  • rev 392 : Created the tag 1.9.5.2 as a copy of this revision Tag 1.9.5.2

Download and compile the trunk

Offline

Download the trunk using the script model in modipsl :

> svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl
> cd modipsl/util
> ./model ORCHIDEE_trunk
> cd ../modeles/ORCHIDEE
> gmake driver

If using an older version than rev 1042(version without ORCHIDEE/src_driver), then use the script recup_my_ORCHIDEE. This script is stored in modipsl/util :

> svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl
> cd modipsl/util
> ./recup_my_ORCHIDEE your_svn_login trunk [optional_REV]

LMDZOR

A new configuration LMDZOR_v5.2 has been created to use ORCHIDEE trunk coupled to LMDZ5. This configuration contains by default the latest revision of the ORCHIDEE trunk. In this set up, also orchidee drivers will be compiled by default. The directory config/ORCHIDEE_OL is also extracted so that both experiences in coupled and offline mode can be performed with the same model sources.

There are no differences in the run set up between LMDZOR_v5 and LMDZOR_v5.2.

> svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl
> cd modipsl/util
> ./model LMDZOR_v5.2
> cd ../config/LMDZOR_v5.2
> gmake

LMDZOR and OFFLINE in same modipsl

Use new configuration LMDZOR_v5.2 as desribe above.

You can choose to do expements in offline mode in modipsl/config/ORCHIDEE_OL or in coupled mode in modipsl/config/LMDZOR_v5.2.