Changes between Version 12 and Version 13 of Documentation/UserGuide/InstallingORCHIDEEBasic
- Timestamp:
- 2016-01-18T11:06:53+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/InstallingORCHIDEEBasic
v12 v13 1 1 = How to install ORCHIDEE with modipsl and libIGCM for offline use = 2 [[PageOutline]] 2 3 3 4 Here I describe how to install a version of ORCHIDEE created after the re-organization of driver sources, this means all versions of ORCHIDEE containg the src_driver directory. If the branch or personal version you want to use contains both ORCHIDEE and ORCHIDEE_OL directories, then you can extract using the script '''recup_my_ORCHIDEE'''. Otherwise if you have only ORCHIDEE directory, extract using the script '''model''' as below. The configuration files will then be the latest trunk version. … … 5 6 NEW!!! This page has been updated to use the compiling method with fcm. If you want to know more about compiling ORCHIDEE, see [wiki:HowTo/CompileMethods]. 6 7 7 == 1. ForORCHIDEE trunk version ==8 == ORCHIDEE trunk version == 8 9 To extract and compile the latest trunk version of ORCHIDEE and configuration files for offline simulations : 9 10 {{{ … … 15 16 }}} 16 17 17 == 2. For ORCHIDEE latest tag (1.9.6) or AR5 version(tag 1.9.5) == 18 To extract and compile the latest tagged version of ORCHIDEE and configuration files for offline simulations (use ORDHIDEE_TAG for tag 1.9.6 and ORCHIDEE_SVN_AR5 for tag 1.9.5): 18 === Specific revision on the trunk === 19 It is possible to define a specific revision on the trunk before extraction. The file util/mod.def describes the contents for all predefined configurations. For example the content in configuration ORCHIDEE_trunk are ORCHIDEE, XIOS, IOIPSL, libIGCM and configuration directory ORCHIDEE_OL. All these components have a specific revision number set in mod.def or HEAD which means the latest revision on the version. [[BR]] 20 21 Change in mod.def before extracting the model by ./model ORCHIDEE_trunk to have the revision XXX on trunk ORCHIDEE: 19 22 {{{ 20 svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl 21 cd modipsl/util 22 ./model ORCHIDEE_TAG # or for AR5 : ./model ORCHIDEE_SVN_AR5 23 cd ../modeles/ORCHIDEE_OL 24 gmake orchidee_ol 23 #-C- ORCHIDEE_trunk trunk/ORCHIDEE HEAD 14 ORCHIDEE modeles 24 #-C- ORCHIDEE_trunk trunk/ORCHIDEE_OL HEAD 14 ORCHIDEE_OL config 25 }}} 26 into 27 {{{ 28 #-C- ORCHIDEE_trunk trunk/ORCHIDEE XXX 14 ORCHIDEE modeles 29 #-C- ORCHIDEE_trunk trunk/ORCHIDEE_OL HEAD 14 ORCHIDEE_OL config 30 }}} 31 Note that for most cases you do not need to change ORCHIDEE_OL revision. This directory contains the configurations files to run with libIGCM. Sometimes there are incoherences between older revisions of ORCHIDEE and the latest version of the configuration but in most cases it is recommended to take the latest version of the configuration. 32 33 34 It is also possible to change the revision of ORCHIDEE after the configuration has been extracted. In that case, go to modeles/ORCHIDEE directory and update using svn: 35 36 {{{ 37 cd modipsl/modeles/ORCHIDEE 38 svn info # To know which version you extracted 39 svn stat # To know if you have any local modifications 40 svn update -r XXX 25 41 }}} 26 42 27 43 28 == 3. For branch or other version on svn ==44 == Branch or other version on svn == 29 45 Do as method 1 but modify the file mod.def to extract a specific version of ORCHIDEE. The file mod.def specifies all components to be extracted with the script model for each configuration predefined. [[BR]] 30 46 Set for example '''mybranch=ORCHIDEE-MICT''' or '''mybranch=ORCHIDEE-DOFOCO'''. For a personal version, for example change '''branches/mybranch into perso/xiuchen.wu/ORCSTICS''' … … 43 59 cd ../config/ORCHIDEE_OL 44 60 gmake 61 }}} 62 63 == ORCHIDEE latest tag (1.9.6) or AR5 version(tag 1.9.5) == 64 To extract and compile the latest tagged version of ORCHIDEE and configuration files for offline simulations (use ORDHIDEE_TAG for tag 1.9.6 and ORCHIDEE_SVN_AR5 for tag 1.9.5): 65 {{{ 66 svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl 67 cd modipsl/util 68 ./model ORCHIDEE_TAG # or for AR5 : ./model ORCHIDEE_SVN_AR5 69 cd ../modeles/ORCHIDEE_OL 70 gmake orchidee_ol 45 71 }}} 46 72