Changeset 354 for trunk/SRC/Documentation/xmldoc/wiki/GetSaxo
- Timestamp:
- 04/22/08 10:52:34 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/wiki/GetSaxo
r353 r354 12 12 We need to create 2 directories: 13 13 14 * {{{${HOME}/SAXO_DIR}}} that will contain the source files of SAXO. It should not be modified by the user to simplify later updates.14 * {{{${HOME}/SAXO_DIR}}} that will contain the source files of SAXO. It should not be modified by the user to simplify later updates. 15 15 16 * {{{${HOME}/My_IDL}}} that will contain user personal files (including modified SAXO files, if needed). 17 {{{ 16 * {{{${HOME}/My_IDL}}} that will contain user personal files (including modified SAXO files, if needed). 17 18 {{{ 18 19 #!html 19 20 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> … … 27 28 === If you work at IDRIS, IPSL or LOCEAN === 28 29 SAXO is already installed at 29 30 * IDRIS, on {{{rhodes}}}: {{{/home/rech/eee/reee217/SAXO_DIR}}} 31 * IPSL: {{{/home/smlod/SAXO_DIR}}} 32 * LOCEAN: {{{/usr/home/smasson/SAXO_DIR}}} 33 If you can access one of theses directories, there is no need to re-install SAXO again! In that case, you only have to link {{{${HOME}/SAXO_DIR}}} to the appropriate directory: 34 35 '''IDRIS'''{{{ 30 31 * IDRIS, on {{{rhodes}}}: {{{/home/rech/eee/reee217/SAXO_DIR}}} 32 * IPSL: {{{/home/smlod/SAXO_DIR}}} 33 * LOCEAN: {{{/usr/home/smasson/SAXO_DIR}}} 34 If you can access one of theses directories, there is no need to re-install SAXO again! In that case, you only have to link {{{${HOME}/SAXO_DIR}}} to the appropriate directory: 35 36 37 '''IDRIS''' 38 {{{ 36 39 #!html 37 40 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 38 41 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">ln</strong></span> <code class="option">-s</code> <em class="parameter"><code>/home/rech/eee/reee217/SAXO_DIR</code></em> <em class="parameter"><code>${HOME}/SAXO_DIR</code></em></code></strong> 39 </pre> 40 }}} 41 42 '''IPSL'''{{{ 42 </pre> 43 }}} 44 45 46 '''IPSL''' 47 {{{ 43 48 #!html 44 49 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 45 50 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">ln</strong></span> <code class="option">-s</code> <em class="parameter"><code>/home/smlod/SAXO_DIR</code></em> <em class="parameter"><code>${HOME}/SAXO_DIR</code></em></code></strong> 46 </pre> 47 }}} 48 49 '''LOCEAN'''{{{ 51 </pre> 52 }}} 53 54 55 '''LOCEAN''' 56 {{{ 50 57 #!html 51 58 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 52 59 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">ln</strong></span> <code class="option">-s</code> <em class="parameter"><code>/usr/home/smasson/SAXO_DIR</code></em> <em class="parameter"><code>${HOME}/SAXO_DIR</code></em></code></strong> 53 54 }}} 55 56 60 </pre> 61 }}} 62 63 57 64 === If Subversion (svn) is installed on your machine === 58 65 59 66 ==== Regular users ==== 60 67 61 The ''complete'' latest revision (source + tests data files: 772 Mb) can be checked out with the following command executed in your ${HOME}: 62 {{{ 68 The '''complete''' latest revision (source + tests data files: 772 Mb) can be checked out with the following command executed in your ${HOME}: 69 70 {{{ 63 71 #!html 64 72 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 65 73 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">svn</strong></span> <code class="option">checkout</code> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/svn/trunk/</code></em> <em class="parameter"><code>SAXO_DIR</code></em></code></strong> 66 </pre> 67 }}} 68 69 The latest revision of the ''source files'' (44 Mb) can be checked out with the following command: 70 {{{ 74 </pre> 75 }}} 76 77 The latest revision of the '''source files''' (45 Mb) can be checked out with the following command: 78 79 {{{ 71 80 #!html 72 81 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 73 82 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">svn</strong></span> <code class="option">checkout</code> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/svn/trunk/SRC</code></em> <em class="parameter"><code>SAXO_DIR/SRC</code></em></code></strong> 74 </pre> 75 }}} 76 77 The latest revision of the ''NetCDF data files'' (728 Mb) used by the test programs can be checked out with the following command: 78 {{{ 83 </pre> 84 }}} 85 86 The latest revision of the '''NetCDF data files''' (728 Mb) used by the test programs can be checked out with the following command: 87 88 {{{ 79 89 #!html 80 90 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 81 91 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">svn</strong></span> <code class="option">checkout</code> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA</code></em> <em class="parameter"><code>SAXO_DIR/DATA</code></em></code></strong> 82 92 </pre> 83 93 }}} 84 94 85 95 ==== Contributors ==== 86 ''Contributors'' should better use the following command (and replace login by their own login): 87 {{{ 96 '''Contributors''' should better use the following command (and replace login by their own login): 97 98 {{{ 88 99 #!html 89 100 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 90 101 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">svn</strong></span> <code class="option">checkout</code> <em class="parameter"><code>svn+ssh://<code class="replaceable">login</code>@forge.ipsl.jussieu.fr/ipsl/forge/projets/saxo/svn/trunk/</code></em> <em class="parameter"><code>SAXO_DIR</code></em></code></strong> 91 102 </pre> 92 103 }}} 93 104 … … 96 107 ==== Get SAXO source files (5.8M Mb) ==== 97 108 98 Create your {{{${HOME}/SAXO_DIR}}} directory ⊠99 {{{ 109 Create your {{{${HOME}/SAXO_DIR}}} directory ⊠110 111 {{{ 100 112 #!html 101 113 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> … … 103 115 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">mkdir</strong></span> <em class="parameter"><code>SAXO_DIR</code></em></code></strong> 104 116 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">cd</strong></span> <em class="parameter"><code>SAXO_DIR</code></em></code></strong> 105 106 }}} 107 108 117 </pre> 118 }}} 119 120 ⊠and download it the latest version of the sources tar file: [http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20080321r339.tar.gz SAXO_SRC_20080321r339.tar.gz] (5.8M Mb). 109 121 110 122 This tar.gz file could also be downloaded with {{{wget}}} or {{{curl}}} 111 '''wget'''{{{ 123 124 '''wget''' 125 {{{ 112 126 #!html 113 127 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 114 128 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">wget</strong></span> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20080321r339.tar.gz</code></em></code></strong> 115 </pre> 116 }}} 117 118 '''curl'''{{{ 129 </pre> 130 }}} 131 132 133 '''curl''' 134 {{{ 119 135 #!html 120 136 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 121 137 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">curl</strong></span> <code class="option">-O</code> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20080321r339.tar.gz</code></em></code></strong> 122 </pre> 123 }}} 124 125 126 Untar the file 127 {{{ 138 </pre> 139 }}} 140 141 142 Untar the file 143 144 {{{ 128 145 #!html 129 146 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> … … 131 148 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">tar</strong></span> <code class="option">xvfz</code> <em class="parameter"><code>SAXO_SRC_20080321r339.tar.gz</code></em></code></strong> 132 149 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">rm</strong></span> <em class="parameter"><code>SAXO_SRC_20080321r339.tar.gz</code></em></code></strong> 133 150 </pre> 134 151 }}} 135 152 136 153 ==== Get SAXO tests data files (238M Mb) ==== 137 154 138 139 140 * {{{${HOME}/My_IDL}}}. This is the easiest solution but it could be inconvenient if your ${HOME} disk space is limited.155 If you want to use the tests programs, you need to download the data tests files ({{{SAXO_DATA_20060602.tar.gz}}}), you may download theses files in 156 157 * {{{${HOME}/My_IDL}}}. This is the easiest solution but it could be inconvenient if your ${HOME} disk space is limited. 141 158 142 159 * any other directory of your choice. In that case, when using IDL, you will need to define the variable {{{iodir}}} to the directory you choose in order to let IDL find the data tests files. This can be done either through the {{{init.pro}}} file (see [#Create SAXO environment]) or directly within IDL with the following command: idl>iodir = '''''the chosen directory'''''. 143 {{{ 160 161 {{{ 144 162 #!html 145 163 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> … … 147 165 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">mkdir</strong></span> <em class="parameter"><code><code class="replaceable">CHOSEN_DIR</code></code></em></code></strong> 148 166 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">cd</strong></span> <em class="parameter"><code><code class="replaceable">CHOSEN_DIR</code></code></em></code></strong> 149 </pre> 150 }}} 151 152 Download [http://forge.ipsl.jussieu.fr/saxo/download/SAXO_DATA_20060602.tar.gz SAXO_DATA_20060602.tar.gz] (238M Mb) 153 or with {{{wget}}} or {{{curl}}} ⊠154 155 '''wget'''{{{ 167 </pre> 168 }}} 169 170 Download [http://forge.ipsl.jussieu.fr/saxo/download/SAXO_DATA_20060602.tar.gz SAXO_DATA_20060602.tar.gz] (238M Mb) 171 or with {{{wget}}} or {{{curl}}} ⊠172 173 174 '''wget''' 175 {{{ 156 176 #!html 157 177 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 158 178 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">wget</strong></span> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_DATA_20060602.tar.gz</code></em></code></strong> 159 </pre> 160 }}} 161 162 '''curl'''{{{ 179 </pre> 180 }}} 181 182 183 '''curl''' 184 {{{ 163 185 #!html 164 186 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 165 187 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">curl</strong></span> <code class="option">-O</code> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_DATA_20060602.tar.gz</code></em></code></strong> 166 167 }}} 168 169 188 </pre> 189 }}} 190 191 170 192 == Generate your init.pro file == 171 193 172 To use SAXO, we need to build an IDL script that we usually call "{{{init.pro}}}". This file contains a set of IDL commands and default definitions (paths and variables of the common files) that are necessary to SAXO. Once it has been created, {{{init.pro}}} should the first executed command when starting IDL session. 173 {{{ 194 To use SAXO, we need to build an IDL script that we usually call "{{{init.pro}}}". This file contains a set of IDL commands and default definitions (paths and variables of the common files) that are necessary to SAXO. Once it has been created, {{{init.pro}}} should the first executed command when starting IDL session. 195 196 {{{ 174 197 #!html 175 198 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> … … 180 203 <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">buildinit</strong></span></code></strong> 181 204 <code class="computeroutput">% Compiled module: BUILDINIT.</code> 182 </pre> 183 }}} 184 185 You must then answer several questions: 186 187 * give the path of {{{${HOME}/My_IDL}}} 188 * give the path of {{{${HOME}/SAXO_DIR}}} 189 * compatibility with the old version: No (except if you want to use old programs) 190 * give a default path for the data directory 191 * give a default path for the postscript directory 192 * give a default path for the images directory 193 * give a default path for the animation directory 194 * number of accessible printer and their configuration 195 * default color table 196 * default page orientation (portrait/landscape) 197 * default page size 198 * default window size 199 * postscript archiving options 200 * name of the init file ({{{init.pro}}}){{{ 205 </pre> 206 }}} 207 208 You must then answer several questions: 209 210 * give the path of {{{${HOME}/My_IDL}}} 211 * give the path of {{{${HOME}/SAXO_DIR}}} 212 * compatibility with the old version: No (except if you want to use old programs) 213 * give a default path for the data directory 214 * give a default path for the postscript directory 215 * give a default path for the images directory 216 * give a default path for the animation directory 217 * number of accessible printer and their configuration 218 * default color table 219 * default page orientation (portrait/landscape) 220 * default page size 221 * default window size 222 * postscript archiving options 223 * name of the init file ({{{init.pro}}}) 224 {{{ 201 225 #!html 202 226 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> … … 212 236 <code class="computeroutput">% Compiled module: CW_FIELD.</code> 213 237 <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">exit</strong></span></code></strong> 214 215 }}} 216 217 238 </pre> 239 }}} 240 241 There is an example of the kind of [idlfiles/init_example.pro init.pro] you should get. 218 242 219 243 == After this ==
Note: See TracChangeset
for help on using the changeset viewer.