Changes between Initial Version and Version 1 of Ajeterici/Branches/ExternalisationParameters/DownloadOrchidee


Ignore:
Timestamp:
2011-10-10T11:23:22+02:00 (13 years ago)
Author:
nvuilsce
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ajeterici/Branches/ExternalisationParameters/DownloadOrchidee

    v1 v1  
     1Here you will find how you can download and launch a job with ORCHIDEE. 
     2 
     3== Download a version of ORCHIDEE == 
     4 
     5Follow these steps : 
     6 
     71. Create a new folder, go into it and type in a shell : 
     8{{{ 
     9prompt > svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl 
     10}}} 
     112. Then go to '''modipsl/util''' and modify '''mod.def''' (see below)[[BR]] 
     12 
     133. After that do : 
     14{{{ 
     15prompt > ./model ORCHIDEE_SVN_EXT 
     16}}} 
     174. Execute for creating the Makefiles: 
     18{{{ 
     19prompt > ./ins_make 
     20}}} 
     215. Go to : 
     22 
     23{{{ 
     24prompt > modipsl/modeles/ORCHIDEE_OL 
     25}}} 
     26and compile in the following order :  
     27{{{ 
     28prompt > gmake  
     29prompt > gmake forcesoil 
     30prompt > gmake testomate 
     31}}} 
     326. Create your own job (see the presentation of Martial Mancip) : 
     33{{{ 
     34prompt > cd  modipsl/config/ORCHIDEE_OL  
     35}}} 
     367. Go back to '''modipsl/util''' and execute : 
     37 
     38{{{ 
     39prompt > ./ins_job 
     40}}} 
     418. It's done ! 
     42  
     43 
     44== Modifying the mod.def file == 
     45 
     46The '''mod.def''' file contains the list of all the servers for the versions of the different components of the IPSL model.(LMDZ,INCA,ORCHIDEE,NEMO...) 
     47Here is the head of '''mod.def''' : 
     48 
     49{{{ 
     50# Repository informations 
     51#- 
     52#-S- 1 cvs anonymous@cvs.ipsl.jussieu.fr:/home/ioipsl/CVSROOT 
     53#-S- 2 cvs sechiba@cvs.ipsl.jussieu.fr:/home/ssipsl/CVSREP 
     54#-S- 3 cvs lmdzbrowse@cvs.lmd.jussieu.fr:/home/cvsroot 
     55#-S- 4 cvs opa@cvs.ipsl.jussieu.fr:/home/opalod/CVSROOT 
     56#-S- 5 cvs nemo@cvs.ipsl.jussieu.fr:/home/opalod/NEMOCVSROOT 
     57#-S- 6 cvs inca@cvs.ipsl.jussieu.fr:/home/incaipsl/CVSROOT 
     58#-S- 7 svn http://forge.ipsl.jussieu.fr/nemo/svn 
     59#-S- 8 svn http://forge.ipsl.jussieu.fr/igcmg/svn 
     60#-S- 9 svn --username inca http://forge.ipsl.jussieu.fr/inca/svn 
     61#-S- 10 svn http://forge.ipsl.jussieu.fr/libigcm/svn 
     62#-S- 11 svn http://svn.lmd.jussieu.fr/LMDZ 
     63#-S- 12 svn http://forge.ipsl.jussieu.fr/ioserver/svn  
     64#-S- 13 svn http://forge.ipsl.jussieu.fr/fcm/svn 
     65#-S- 14 svn --username sechiba svn://forge.ipsl.jussieu.fr/orchidee 
     66}}} 
     67This file lists only the official versions. As the externalized version is not in the "official" version, 
     68you have to add the following lines in '''mode.def''' for downloading it : 
     69 
     70{{{ 
     71#-H- ORCHIDEE_EXT_SVN Modele ORCHIDEE with Externalisation of the parameters 
     72#-H- ORCHIDEE_EXT_SVN ORCHIDEE_EXT with tag ORCHIDEE_1_9_5 
     73#-H- ORCHIDEE_EXT_SVN IOIPSL with tag 2.2.1 
     74#-H- ORCHIDEE_EXT_SVN libIGCM tag libIGCM_v1_9 
     75#-H- ORCHIDEE_EXT_SVN FCM svn version PATCHED/FCM_V1.2 
     76#-M- ORCHIDEE_EXT_SVN Didier.Solyga@lsce.ipsl.fr 
     77#-C- ORCHIDEE_EXT_SVN IOIPSL/tags/v2_2_1/src   HEAD            8  IOIPSL/src      modeles 
     78#-C- ORCHIDEE_EXT_SVN tags/libIGCM_v1_9        HEAD            10 libIGCM         . 
     79#-C- ORCHIDEE_EXT_SVN PATCHED/FCM_V1.2         HEAD            13 tools/FCM/V1.2  . 
     80#-C- ORCHIDEE_EXT_SVN branches/ORCHIDEE_EXT/ORCHIDEE                 ?       14 . 
     81#-C- ORCHIDEE_EXT_SVN branches/ORCHIDEE_EXT/ORCHIDEE_OL              ?       14 . 
     82#-C- ORCHIDEE_EXT_SVN trunk/ORCHIDEE_OL/OOL_SEC_STO  ?       14 config/ORCHIDEE_OL/OOL_SEC_STO . 
     83#-C- ORCHIDEE_EXT_SVN trunk/ORCHIDEE_OL/OOL_SEC      ?       14 . config/ORCHIDEE_OL 
     84#-C- ORCHIDEE_EXT_SVN trunk/ORCHIDEE_OL/FORCESOIL    ?       14 . config/ORCHIDEE_OL 
     85#-C- ORCHIDEE_EXT_SVN trunk/ORCHIDEE_OL/TESTSTOMATE  ?       14 . config/ORCHIDEE_OL 
     86#-C- ORCHIDEE_EXT_SVN trunk/ORCHIDEE_OL/SPINUP       ?       14 . config/ORCHIDEE_OL 
     87#-C- ORCHIDEE_EXT_SVN trunk/ORCHIDEE_OL/FLUXNET      ?       14 . config/ORCHIDEE_OL 
     88}}} 
     89 
     90Then do : 
     91 
     92{{{ 
     93prompt > ./model -h 
     94}}} 
     95 
     96It will all the versions you can download. You will see that ORCHIDEE_EXT_SVN is available to install (it was no the case before you modify '''mod.def'''). 
     97For this, replace all the : 
     98 
     99{{{ 
     100ORCHIDEE_EXT_SVN 
     101}}} 
     102by : 
     103 
     104{{{ 
     105ORCHIDEE_FM or ORCHIDEE-N  
     106}}} 
     107 
     108according the version you want to download. The name doesn't mind, you can choose the name you want. After that, replace  : 
     109{{{ 
     110branches/ORCHIDEE_EXT/ORCHIDEE 
     111}}} 
     112exactly by  
     113{{{ 
     114branches/orchidee_FM/ORCHIDEE 
     115}}} 
     116for the forest management model ; or exactly by 
     117{{{ 
     118branches/orchidee-N/ORCHIDEE 
     119}}} 
     120for the nitrogen model.   
     121 
     122 
     123=== Advice === 
     124 
     125The last point is still valid if you want to download an other version in developpment like Orchidee-FM (forest management) or ORCHIDEE-N (Orchidee with nitrogen cycle).[[BR]] 
     126 
     127''' Warning :''' If you can't download a version, that means that the branch of developpment is not readable. Ask a svn administrator in this case.