| 1 | Here you will find how you can download and launch a job with ORCHIDEE. |
| 2 | |
| 3 | == Download a version of ORCHIDEE == |
| 4 | |
| 5 | Follow these steps : |
| 6 | |
| 7 | 1. Create a new folder, go into it and type in a shell : |
| 8 | {{{ |
| 9 | prompt > svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl |
| 10 | }}} |
| 11 | 2. Then go to '''modipsl/util''' and modify '''mod.def''' (see below)[[BR]] |
| 12 | |
| 13 | 3. After that do : |
| 14 | {{{ |
| 15 | prompt > ./model ORCHIDEE_SVN_EXT |
| 16 | }}} |
| 17 | 4. Execute for creating the Makefiles: |
| 18 | {{{ |
| 19 | prompt > ./ins_make |
| 20 | }}} |
| 21 | 5. Go to : |
| 22 | |
| 23 | {{{ |
| 24 | prompt > modipsl/modeles/ORCHIDEE_OL |
| 25 | }}} |
| 26 | and compile in the following order : |
| 27 | {{{ |
| 28 | prompt > gmake |
| 29 | prompt > gmake forcesoil |
| 30 | prompt > gmake testomate |
| 31 | }}} |
| 32 | 6. Create your own job (see the presentation of Martial Mancip) : |
| 33 | {{{ |
| 34 | prompt > cd modipsl/config/ORCHIDEE_OL |
| 35 | }}} |
| 36 | 7. Go back to '''modipsl/util''' and execute : |
| 37 | |
| 38 | {{{ |
| 39 | prompt > ./ins_job |
| 40 | }}} |
| 41 | 8. It's done ! |
| 42 | |
| 43 | |
| 44 | == Modifying the mod.def file == |
| 45 | |
| 46 | The '''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...) |
| 47 | Here 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 | }}} |
| 67 | This file lists only the official versions. As the externalized version is not in the "official" version, |
| 68 | you 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 | |
| 90 | Then do : |
| 91 | |
| 92 | {{{ |
| 93 | prompt > ./model -h |
| 94 | }}} |
| 95 | |
| 96 | It 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'''). |
| 97 | For this, replace all the : |
| 98 | |
| 99 | {{{ |
| 100 | ORCHIDEE_EXT_SVN |
| 101 | }}} |
| 102 | by : |
| 103 | |
| 104 | {{{ |
| 105 | ORCHIDEE_FM or ORCHIDEE-N |
| 106 | }}} |
| 107 | |
| 108 | according the version you want to download. The name doesn't mind, you can choose the name you want. After that, replace : |
| 109 | {{{ |
| 110 | branches/ORCHIDEE_EXT/ORCHIDEE |
| 111 | }}} |
| 112 | exactly by |
| 113 | {{{ |
| 114 | branches/orchidee_FM/ORCHIDEE |
| 115 | }}} |
| 116 | for the forest management model ; or exactly by |
| 117 | {{{ |
| 118 | branches/orchidee-N/ORCHIDEE |
| 119 | }}} |
| 120 | for the nitrogen model. |
| 121 | |
| 122 | |
| 123 | === Advice === |
| 124 | |
| 125 | The 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. |