| 67 | This guide is meant to work for any module found in your environment. For that reason, it is necessary to properly select them. |
| 68 | |
| 69 | Download Modipsl |
| 70 | {{{ |
| 71 | svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl |
| 72 | }}} |
| 73 | |
| 74 | Get into your new download modipsl folder |
| 75 | {{{ |
| 76 | cd modipsl |
| 77 | }}} |
| 78 | |
| 79 | Modify util/AA_make.gdef (diff notation) |
| 80 | {{{ |
| 81 | [ajornet@obelix3 util]$ svn diff |
| 82 | Index: AA_make.gdef |
| 83 | =================================================================== |
| 84 | --- AA_make.gdef (révision 4740) |
| 85 | +++ AA_make.gdef (copie de travail) |
| 86 | @@ -379,8 +379,8 @@ |
| 87 | #-Q- lxiv8 C_O = |
| 88 | #-Q- lxiv8 C_L = cc |
| 89 | #-Q- lxiv8 #- |
| 90 | -#-Q- lxiv8 NCDF_INC = /usr/local/install/netcdf-4.3.2p/include |
| 91 | -#-Q- lxiv8 NCDF_LIB = -L/usr/local/install/netcdf-4.3.2p/lib -lnetcdff -lnetcdf |
| 92 | +#-Q- lxiv8 NCDF_INC = $(shell nc-config --includedir) |
| 93 | +#-Q- lxiv8 NCDF_LIB = -L$(shell nc-config --libdir) -lnetcdff -lnetcdf |
| 94 | #-Q- lxiv8 #- |
| 95 | #-Q- occigen #- |
| 96 | #-Q- occigen #- Global definitions for Curie at TGCC |
| 97 | }}} |
| 98 | |
| 99 | Add the lines below into util/mod.def: |
| 100 | |
| 101 | {{{ |
| 102 | #-H- ORCHIDEE_mict_latest ORCHIDEE MICT offline configuration |
| 103 | #-H- ORCHIDEE_mict_latest This is a working configuration using the latest revision of ORCHIDEE mict |
| 104 | #-M- ORCHIDEE_mict_latest albert.jornet-puig@lsce.ipsl.fr |
| 105 | #-C- ORCHIDEE_mict_latest branches/ORCHIDEE-MICT/IOIPSL HEAD 14 IOIPSL modeles |
| 106 | #-C- ORCHIDEE_mict_latest trunk/libIGCM 1487 10 libIGCM . |
| 107 | #-C- ORCHIDEE_mict_latest branches/ORCHIDEE-MICT/ORCHIDEE HEAD 14 ORCHIDEE modeles |
| 108 | #-C- ORCHIDEE_mict_latest branches/ORCHIDEE-MICT/ORCHIDEE_OL HEAD 14 ORCHIDEE_OL config |
| 109 | #-C- ORCHIDEE_mict_latest XIOS/branchs/xios-2.5 1550 12 XIOS modeles |
| 110 | |
| 111 | #-H- ORCHIDEE_mict_tag890 ORCHIDEE MICT version 8.9.0 offline configuration |
| 112 | #-H- ORCHIDEE_mict_tag890 This is a working configuration using the version 8.9.0 of ORCHIDEE mict |
| 113 | #-M- ORCHIDEE_mict_tag890 albert.jornet-puig@lsce.ipsl.fr |
| 114 | #-C- ORCHIDEE_mict_tag890 branches/ORCHIDEE-MICT/IOIPSL HEAD 14 IOIPSL modeles |
| 115 | #-C- ORCHIDEE_mict_tag890 trunk/libIGCM 1487 10 libIGCM . |
| 116 | #-C- ORCHIDEE_mict_tag890 branches/ORCHIDEE-MICT/tags/ORCHIDEE_MICT_8.9.0 HEAD 14 ORCHIDEE modeles |
| 117 | #-C- ORCHIDEE_mict_tag890 branches/ORCHIDEE-MICT/ORCHIDEE_OL HEAD 14 ORCHIDEE_OL config |
| 118 | #-C- ORCHIDEE_mict_tag890 XIOS/branchs/xios-2.5 1550 12 XIOS modeles |
| 119 | |
| 120 | }}} |
| 121 | |
| 122 | Download the whole model by running the command (chose one): |
| 123 | |
| 124 | * Latest Orchidee MICT development: |
| 125 | {{{ |
| 126 | ./model ORCHIDEE_mict_latest |
| 127 | }}} |
| 128 | |
| 129 | * (preferred) Latest Orchidee MICT version: |
| 130 | {{{ |
| 131 | ./model ORCHIDEE_mict_tag890 |
| 132 | }}} |
| 133 | |
| 134 | Install the Makefiles all across the model |
| 135 | |
| 136 | {{{ |
| 137 | ./ins_make |
| 138 | }}} |
| 139 | |
| 140 | Go to XIOS |
| 141 | {{{ |
| 142 | cd ../modeles/XIOS |
| 143 | }}} |
| 144 | |
| 145 | Modify the file according to (diff notation): |
| 146 | |
| 147 | {{{ |
| 148 | [ajornet@obelix3 XIOS]$ svn diff |
| 149 | Index: arch/arch-ifort_LSCE.path |
| 150 | =================================================================== |
| 151 | --- arch/arch-ifort_LSCE.path (révision 1550) |
| 152 | +++ arch/arch-ifort_LSCE.path (copie de travail) |
| 153 | @@ -1,6 +1,6 @@ |
| 154 | -NETCDF_INCDIR="-I /usr/local/install/netcdf-4.3.2p/include" |
| 155 | -NETCDF_LIBDIR="-L/usr/local/install/netcdf-4.3.2p/lib" |
| 156 | -NETCDF_LIB="-lnetcdf -lnetcdff" |
| 157 | -HDF5_INCDIR="-I /usr/local/install/hdf5-1.8.9p/include" |
| 158 | -HDF5_LIBDIR="-L/usr/local/install/hdf5-1.8.9p/lib" |
| 159 | -HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl" |
| 160 | +NETCDF_INCDIR=`nc-config --fflags` |
| 161 | +NETCDF_LIBDIR=`nc-config --flibs` |
| 162 | +NETCDF_LIB="" |
| 163 | +HDF5_INCDIR="" |
| 164 | +HDF5_LIBDIR="" |
| 165 | +HDF5_LIB="" |
| 166 | }}} |
| 167 | |
| 168 | Go to Orchidee |
| 169 | {{{ |
| 170 | cd ../ORCHIDEE |
| 171 | }}} |
| 172 | |
| 173 | Apply this modification if it is not yet done: |
| 174 | https://forge.ipsl.jussieu.fr/orchidee/changeset/6218/ |
| 175 | |
| 176 | = Old guide = |
| 177 | |