Version 2 (modified by jgipsl, 11 years ago) (diff) |
---|
How to install ORCHIDEE with modipsl and libIGCM for offline use
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.
Method 1
To extract and compile the latest trunk version of ORCHIDEE and configuration files for offline simulations :
svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl cd modipsl/util ./model ORCHIDEE_trunk cd ../modeles/ORCHIDEE/ gmake driver
Method 2
If you want another version of ORCHIDEE, before compiling change the version of ORCHIDEE, in this case you will keep the configuration files from the trunk version :
svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl cd modipsl/util ./model ORCHIDEE_trunk cd ../modeles rm -fr ORCHIDEE svn co svn://forge.ipsl.jussieu.fr/orchidee/branches/xxxxxxx/ORCHIDEE ORCHIDEE # or a copy from a local version of ORCHIDEE cd ../util ; ./ins_make # Create makefiles cd ../modeles/ORCHIDEE gmake driver
Method 3
Do as method 1 but modifiy the file mod.def to extract a specific version of ORCHIDEE. The file mod.def specifices all componentes to be extracted with the script model for each configuration predefined.
svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl cd modipsl/util vi mod.def # Edit the line corresponding to extraction of ORCHIDEE sources for target ORCHIDEE_trunk Change following line : #-C- ORCHIDEE_trunk trunk/ORCHIDEE HEAD 15 ORCHIDEE modeles into, with correct path to your branch or perso directory, HEAD can also be changed to a specific revision number : #-C- ORCHIDEE_trunk branches/mybranch/ORCHIDEE HEAD 15 ORCHIDEE modeles ./model ORCHIDEE_trunk cd ../modeles/ORCHIDEE gmake driver