| 1 | = How to install ORCHIDEE-STICS model ? = |
| 2 | == Download modipsl framework == |
| 3 | {{{ |
| 4 | my_prompt>> svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk ORCHIDEE_STICS |
| 5 | }}} |
| 6 | |
| 7 | == Add ORCHIDEE-STICS model into mod.def file == |
| 8 | Under "util" directory, modify the mod.def fiel by adding the following lines: |
| 9 | {{{ |
| 10 | #- |
| 11 | #-H- ORCHIDEE_STICS Modele ORCHIDEE-STICS |
| 12 | #-H- ORCHIDEE_STICS ORCHIDEE-STICS trunk |
| 13 | #-H- ORCHIDEE_STICS IOIPSL with tag 2.2.1 |
| 14 | #-H- ORCHIDEE_STICS libIGCM tag libIGCM_v1_10 |
| 15 | #-H- ORCHIDEE_STICS FCM svn version PATCHED/FCM_V1.2 |
| 16 | #-M- ORCHIDEE_STICS nicolas.vuichard@lsce.ipsl.fr |
| 17 | #-C- ORCHIDEE_STICS IOIPSL/tags/v2_2_1/src HEAD 8 IOIPSL/src modeles |
| 18 | #-C- ORCHIDEE_STICS tags/libIGCM_v1_10 HEAD 10 libIGCM . |
| 19 | #-C- ORCHIDEE_STICS PATCHED/FCM_V1.2 HEAD 13 tools/FCM/V1.2 . |
| 20 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE ? 14 . |
| 21 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE_OL ? 14 . |
| 22 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE_OL/OOL_SEC_STO ? 14 config/ORCHIDEE_OL/OOL_SEC_STO . |
| 23 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE_OL/OOL_SEC ? 14 . config/ORCHIDEE_OL |
| 24 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE_OL/FORCESOIL ? 14 . config/ORCHIDEE_OL |
| 25 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE_OL/TESTSTOMATE ? 14 . config/ORCHIDEE_OL |
| 26 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE_OL/SPINUP ? 14 . config/ORCHIDEE_OL |
| 27 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/ORCHIDEE_OL/FLUXNET ? 14 . config/ORCHIDEE_OL |
| 28 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS/STICS ? 14 . |
| 29 | #-C- ORCHIDEE_STICS branches/ORCHIDEE-STICS\ -N ? 14 AA_make util/ |
| 30 | # - |
| 31 | }}} |
| 32 | |
| 33 | == Install ORCHIDEE-STICS model under util dir. == |
| 34 | {{{ |
| 35 | my_prompt>> ./model ORCHIDEE_STICS |
| 36 | }}} |
| 37 | |
| 38 | == Compilation of ORCHIDEE-STICS model == |
| 39 | First, update the AA_make.gdef file under directory by typing the 2 command lines : |
| 40 | {{{ |
| 41 | my_prompt>> cp AA_make/AA_make.gdef . |
| 42 | my_prompt>> \rm -rf AA_make |
| 43 | my_prompt>> ./ins_make |
| 44 | }}} |
| 45 | Under "modeles/ORCHIDEE_OL" dir |
| 46 | {{{ |
| 47 | my_prompt>> gmake |
| 48 | }}} |
| 49 | |
| 50 | == Launching a job under OOL_SEC_STO config == |
| 51 | Under "util" dir, type : |
| 52 | {{{ |
| 53 | my_prompt>> ./ins_job |
| 54 | }}} |
| 55 | Under "modeles/ORCHIDEE_OL/OOL_SEC_STO" dir, add the following lines into the Job_* script before the Execution section: |
| 56 | {{{ |
| 57 | export OMP_NUM_THREADS=3 |
| 58 | export OMP_WAIT_POLYCY=passive |
| 59 | export OMP_NESTED=TRUE |
| 60 | }}} |
| 61 | You can then submit the Job. |
| 62 | |
| 63 | |
| 64 | = Evolution du code ORCHIDEE-STICS = |
| 65 | |
| 66 | ---- |
| 67 | == 01/12/2009 == |
| 68 | '''Compte-rendu de la mise à jour d'O-S effectuée par D. Leclère et N. Vuichard'''[[BR]] |
| 69 | On a utilisé trois codes-source pour cette mise à jour[[BR]] |
| 70 | 1- code O-S (sous /home/users/dleclere/Orch-Stics/STICS/stics_orchidee_maj)[[BR]] |
| 71 | 2- code d'ORCHIDEE utilisé lors du couplage O-S par Smith/Meurdesoif/Viovy (sous /home/users/dleclere/Orch-Stics/STICS/SOURCES_NICOLAS_VIOVY/commit)[[BR]] |
| 72 | 3- version 1.9.4 du code ORCHIDEE (/home/users/dleclere/Orch-Stics/modipsl/modeles)[[BR]] |
| 73 | Les appels à STICS ont été identifiés par diff entre 1 et 2 et injectés dans 3.[[BR]] |
| 74 | Un journal a été réalisé mentionnant les fichiers sur lesquels nous sommes intervenus et les points - plutôt scientifiques - qui restent à travailler.[[BR]] |
| 75 | Journal stocké sous /home/users/dleclere/Orch-Stics/JOURNAL_MERGE.txt et en pièce jointe. |
| 76 | |
| 77 | '''Compilation et exécution d'un cas test'''[[BR]] |
| 78 | sous platine (/work/cont003/p529vui/MERGE_ORCHIDEE_STICS)[[BR]] |
| 79 | en utilisant comme forçages météo ERA interim (/dmnfs12/cont003/p529maig/ANNUELS_IERA/DRIVER_FORTRAN) |
| 80 | |
| 81 | '''A FAIRE'''[[BR]] |
| 82 | * Comparaison sur le cas test entre nouvelle version d'O-S et ancienne => N. Vuichard[[BR]] |
| 83 | * Basculement de la technologie CORBA vers la techno MULTI-THREAD[[BR]] |
| 84 | * Réfléchir à la possibilité de faire un restart de STICS en fin d'année[[BR]] |
| 85 | * Résoudre les questions scientifiques levées lors de la mise à jour du couplage O-S (cf JOURNAL_MERGE.txt) |
| 86 | |
| 87 | ---- |
| 88 | |
| 89 | == 08/09/2009 == |
| 90 | '''Réunion pour préparer le changement de version d'ORCHIDEE''' (vers la 1.9.4) dans le modèle couplé ORCHIDEE-STICS[[BR]] |
| 91 | Compte-rendu orchidee_stics_08_09_2009.doc en pièce jointe |
| 92 | |
| 93 | |
| 94 | ---- |
| 95 | |
| 96 | == 10/07/2009 == |
| 97 | '''Avancées sur le code ORCHIDEE-STICS à mettre à jour''' |
| 98 | |
| 99 | On avait besoin : |
| 100 | |
| 101 | 1. du dernier code (ORCHIDEE - DRIVER en c) de Nicolas Viovy correspondant à la version MERGE |
| 102 | orchidee_MERGE_1_8_2 |
| 103 | 2. de la version d'ORCHIDEE utilisée par Pascalle Smith en 2005 pour faire la "seconde" |
| 104 | version (après Gervois) du couplage ORCHIDEE-STICS. |
| 105 | |
| 106 | On a donc chercher dans le home et le scratch platine de Nicolas Viovy (login viovy mercure) pour identifier ces versions.[[BR]] |
| 107 | Nous y avons trouver et récupérer les répertoires suivant : |
| 108 | |
| 109 | ||Nom répertoire Viovy || Répertoire ORCHIDEE || Date dernier source modifié || |
| 110 | ||orc_test || ORCHIDEE_OL || 10-07-09 || |
| 111 | ||orc_test || ORCHIDEE || 10-07-09 || |
| 112 | ||orc_0608 || ORCHIDEE_OL || 17-04-09 || |
| 113 | ||orc_0608 || ORCHIDEE || 08-06-09 || |
| 114 | ||orc_0609 || ORCHIDEE_OL || 08-06-09 || |
| 115 | ||orc_0609 || ORCHIDEE || 08-06-09 || |
| 116 | ||orc_merge || ORCHIDEE_OL || 10-07-09 || |
| 117 | ||orc_merge || ORCHIDEE || 24-07-08 || |
| 118 | |
| 119 | Ancienne version : |
| 120 | ||commit || ORCHIDEE_OL || 24-10-05 || |
| 121 | ||commit || ORCHIDEE || 07-07-05 || |
| 122 | |
| 123 | Nous avons vérifier que la version 'commit' est bien proche de la version de départ de Pascalle S.[[BR]] |
| 124 | => diff_stics_orchidee_maj-commit.diff |
| 125 | |
| 126 | A FAIRE : |
| 127 | |
| 128 | 0. Martial (fait): page forge ORCHIDEE -> STICS => inscription Nicolas Vuichard |
| 129 | 1. Vuichard : historique, mettre les rapports réunions STICS |
| 130 | 2. Martial (fait): identifier la version récente de Nicolas Viovy la plus proche de la orchidee_MERGE_1_8_2 [[BR]] |
| 131 | (=> compatibilités des modifications du DRIVER c de Nicolas). |
| 132 | 3. Nicolas Vuichard / David Leclerc : reprendre cette version identifiée pour MAJ ORCHIDEE-STICS |
| 133 | avec nouveau driver Viovy / nouvelle version ORCHIDEE. |
| 134 | 4. Martial : création d'une banche ORCHIDEE-STICS partant du TAG orchidee_MERGE_1_8_2 |
| 135 | 5. Martial : Mise à jour de la orchidee_MERGE_1_8_2 => TAG orchidee_MERGE_1_8_3 |
| 136 | 6. Nathalie De Noblet : récupération Rapport Pascalle Smith CR_SMITH_18-08-08 |
| 137 | |
| 138 | |
| 139 | Passer à Nicolas : |
| 140 | |
| 141 | 1. stics_orchidee_maj = commit + 14 PFTs[[BR]] |
| 142 | -rw-rw-r-- 1 mancip mancip 165159 2009-08-04 18:52 diff_stics_orchidee_maj-commit.diff |
| 143 | 2. version Nicolas : avant la ORCHIDEE_1_8_1 ! (très vieux par rapport à la branche ORCHIDEE_1_8_merge ...)[[BR]] |
| 144 | -rw-rw-r-- 1 mancip mancip 337894 2009-08-04 18:42 diff_ORCHIDEE_1_8_1_orc_0609.diff [[BR]] |
| 145 | -rw-rw-r-- 1 mancip mancip 266849 2009-08-04 18:42 diff_ORCHIDEE_1_8_1_orc_merge.diff [[BR]] |
| 146 | -rw-rw-r-- 1 mancip mancip 269744 2009-08-04 18:42 diff_ORCHIDEE_1_8_1_orc_test.diff [[BR]] |