Ignore:
Timestamp:
04/22/08 10:52:34 (16 years ago)
Author:
pinsard
Message:

some improvements in wiki production

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/xmldoc/wiki/GetSaxo

    r353 r354  
    1212      We need to create 2 directories: 
    1313       
    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. 
    1515          
    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{{{ 
    1819#!html 
    1920<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
     
    2728=== If you work at IDRIS, IPSL or LOCEAN === 
    2829SAXO 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}}} 
     34If 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{{{ 
    3639#!html 
    3740<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    3841  <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{{{ 
    4348#!html 
    4449<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    4550  <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{{{ 
    5057#!html 
    5158<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    5259  <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           </pre> 
    54 }}} 
    55  
    56          
     60  </pre> 
     61}}} 
     62 
     63 
    5764=== If Subversion (svn) is installed on your machine === 
    5865 
    5966==== Regular users ==== 
    6067 
    61         The ''complete'' latest revision (source + tests data files: 772 Mb) can be checked out with the following command executed in your ${HOME}: 
    62         {{{ 
     68The '''complete''' latest revision (source + tests data files: 772 Mb) can be checked out with the following command executed in your ${HOME}: 
     69 
     70{{{ 
    6371#!html 
    6472<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    6573  <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 
     77The latest revision of the '''source files''' (45 Mb) can be checked out with the following command: 
     78 
     79{{{ 
    7180#!html 
    7281<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    7382  <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 
     86The latest revision of the '''NetCDF data files''' (728 Mb) used by the test programs can be checked out with the following command: 
     87 
     88{{{ 
    7989#!html 
    8090<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    8191  <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         </pre> 
     92</pre> 
    8393}}} 
    8494 
    8595==== 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{{{ 
    8899#!html 
    89100<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    90101  <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         </pre> 
     102</pre> 
    92103}}} 
    93104 
     
    96107==== Get SAXO source files (5.8M Mb) ==== 
    97108 
    98           Create your {{{${HOME}/SAXO_DIR}}} directory 
 
    99           {{{ 
     109  Create your {{{${HOME}/SAXO_DIR}}} directory 
 
     110   
     111{{{ 
    100112#!html 
    101113<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
     
    103115  <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> 
    104116  <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           </pre> 
    106 }}} 
    107  
    108           
 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). 
     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). 
    109121 
    110122This tar.gz file could also be downloaded with {{{wget}}} or {{{curl}}} 
    111           '''wget'''{{{ 
     123 
     124'''wget''' 
     125{{{ 
    112126#!html 
    113127<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    114128  <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{{{ 
    119135#!html 
    120136<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    121137  <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 
     142Untar the file 
     143 
     144{{{ 
    128145#!html 
    129146<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
     
    131148  <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> 
    132149  <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         </pre> 
     150</pre> 
    134151}}} 
    135152 
    136153==== Get SAXO tests data files (238M Mb) ==== 
    137154 
    138         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 
    139          
    140 * {{{${HOME}/My_IDL}}}. This is the easiest solution but it could be inconvenient if your ${HOME} disk space is limited. 
     155If 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. 
    141158            
    142159 * 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&gt;iodir = '''''the chosen directory'''''. 
    143            {{{ 
     160            
     161{{{ 
    144162#!html 
    145163<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
     
    147165  <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> 
    148166  <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 
     170Download [http://forge.ipsl.jussieu.fr/saxo/download/SAXO_DATA_20060602.tar.gz SAXO_DATA_20060602.tar.gz] (238M Mb) 
     171or with {{{wget}}} or {{{curl}}} 
 
     172 
     173 
     174'''wget''' 
     175{{{ 
    156176#!html 
    157177<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    158178  <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{{{ 
    163185#!html 
    164186<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
    165187  <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           </pre> 
    167 }}} 
    168  
    169          
     188  </pre> 
     189}}} 
     190 
     191 
    170192== Generate your init.pro file == 
    171193 
    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       {{{ 
     194To 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{{{ 
    174197#!html 
    175198<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
     
    180203  <code class="prompt">idl&gt;</code> <strong class="userinput"><code><span><strong class="command">buildinit</strong></span></code></strong> 
    181204  <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 
     208You 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{{{ 
    201225#!html 
    202226<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 
     
    212236   <code class="computeroutput">% Compiled module: CW_FIELD.</code> 
    213237   <code class="prompt">idl&gt;</code> <strong class="userinput"><code><span><strong class="command">exit</strong></span></code></strong> 
    214         </pre> 
    215 }}} 
    216  
    217         There is an example of the kind of [idlfiles/init_example.pro  init.pro] you should get. 
     238</pre> 
     239}}} 
     240 
     241There is an example of the kind of [idlfiles/init_example.pro  init.pro] you should get. 
    218242       
    219243== After this == 
Note: See TracChangeset for help on using the changeset viewer.