Changes between Initial Version and Version 1 of Doc/Install


Ignore:
Timestamp:
03/31/14 12:13:45 (10 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Install

    v1 v1  
     1{{{ 
     2#!html 
     3<h1> Download </h1> 
     4}}} 
     5---- 
     6[[NoteBox(note,Download a model configuration to a specific machine using the '''modipsl''' tool., 600px)]] 
     7 
     8[[TOC(heading=Table of contents,depth=1,inline)]] 
     9[[PageOutline(1,Table of contents,pullout)]] 
     10---- 
     11 
     12# Description # 
     13 
     14'''modipsl''' is an suite of scripts which allow you to 
     15 * obtain a model configuration from a computing center; 
     16 * to [wiki:DocDcompil compile] the model components of a model configuration on a specific machine. 
     17 
     18'''modipsl''' is also the architecture hosting the models and tools of a chosen model configuration. modipsl is developed at IPSL. 
     19 
     20# Downloading modipsl # 
     21 
     22{{{ 
     23#!sh 
     24svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl 
     25}}} 
     26 
     27To avoid typing this command line for every new modipsl retrieval, we recommend to create an alias :  
     28 
     29{{{ 
     30#!sh 
     31alias svn_ano='svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl' 
     32}}} 
     33 
     34The retrieval command then becomes 
     35{{{ 
     36#!sh 
     37svn_ano 
     38}}} 
     39 
     40To learn more about SVN and other useful scripts, [wiki:DocKexterntoolsAsvnbasic click here]. 
     41 
     42# How to use modipsl # 
     43## The modipsl directories ## 
     44After downloading and unpacking '''modipsl''', you should have the following directory structure:   
     45 
     46 * '''util''' contains information and scripts necessary to setup the different versions of the IPSL models;  
     47 
     48 * '''doc''' contains the CECILL's license (license of the IPSL models) 
     49 
     50 
     51modipsl also contains the following directories (empty in the beginning) :  
     52 
     53 * '''modeles''': directories containing the model source codes (filled once the model configuration has been downloaded and unpacked) 
     54 
     55 * '''config''': directories containing the experiment directories (filled once the model configuration has been downloaded and unpacked) 
     56 
     57 * '''bin''': directory containing the executables (filled after compiling) 
     58 
     59 * '''lib''' and '''tmp''': directories containing temporary files created during the compilation. Those directories will not be used by all models. 
     60 
     61 
     62'''Main scripts in the directory ''util'''''[[BR]] 
     63 * '''`model`'''  -->   Downloading script for available model configurations. This script also provides information on the available model configurations. 
     64 
     65 * '''`mod.def`'''  --> File containing the information on the available model configurations : components, tags, svn servers 
     66 
     67 * '''`ins_make`'''  --> Makefiles for the computing machine 
     68 
     69 * '''`ins_job`'''  --> Scripts for running jobs on the computing machine 
     70 
     71## Available configurations via modipsl ## 
     72Using '''modipsl''' will give you access to a large number of model configurations, each of them uses one or more IPSL models. 
     73To list the available model configurations, use the following script:  
     74{{{ 
     75#!sh 
     76cd modipsl/util 
     77./model -h  
     78}}} 
     79 
     80To obtain information on the models used (tags, versions,...) in a specific configuration, use the following script: 
     81{{{ 
     82#!sh 
     83./model -h nom_de_la_config 
     84}}} 
     85 
     86Example with LMDZOR_v5 : 
     87{{{ 
     88#!sh 
     89./model -h LMDZOR_v5 
     90  
     91model : LMDZOR_v5 
     92  
     93LMDZ and ORCHIDEE (closest version to IPSLCM5_v5) 
     94This configuration can be used with LMDZ4(LMDZ4/branches/LMDZ4_AR5) or LMDZ5 (LMDZ5/trunk(default), LMDZ5/branches/LMDZ5_AR5). 
     95  
     96email address of the model manager: Josefine.Ghattas@ipsl.jussieu.fr 
     97  
     98Component 1 : IOIPSL/tags/v2_2_1/src 
     99Tag       1 : HEAD 
     100System    1 : svn 
     101Server    1 : http://forge.ipsl.jussieu.fr/igcmg/svn 
     102Directory 1 : IOIPSL/src 
     103Local Dir 1 : modeles 
     104Component 2 : tags/ORCHIDEE_1_9_5/ORCHIDEE 
     105Tag       2 : HEAD 
     106System    2 : svn 
     107Server    2 : svn://forge.ipsl.jussieu.fr/orchidee 
     108Directory 2 : ORCHIDEE 
     109Local Dir 2 : modeles 
     110Component 3 : LMDZ5/trunk 
     111Tag       3 : 1628 
     112System    3 : svn 
     113Server    3 : http://svn.lmd.jussieu.fr/LMDZ 
     114Directory 3 : LMDZ 
     115Local Dir 3 : modeles 
     116Component 4 : CONFIG/UNIFORM/v5/LMDZOR_v5 
     117Tag       4 : HEAD 
     118System    4 : svn 
     119Server    4 : http://forge.ipsl.jussieu.fr/igcmg/svn 
     120Directory 4 : LMDZOR_v5 
     121Local Dir 4 : config 
     122Component 5 : tags/libIGCM_v2.0_rc3 
     123Tag       5 : HEAD 
     124System    5 : svn 
     125Server    5 : http://forge.ipsl.jussieu.fr/libigcm/svn 
     126Directory 5 : libIGCM 
     127Local Dir 5 : . 
     128}}} 
     129 
     130 
     131If the requested model configuration does not exist : 
     132{{{ 
     133#!sh 
     134./model -h Ornithorynque 
     135Model Ornithorynque unknown 
     136Try "model -h" 
     137}}} 
     138 
     139## How to download and use a selected model configuration ## 
     140 
     141Downloading is the recovery of the source codes of the model components of a specific model configuration from different SVN (and CVS) servers. 
     142The download can be done with this script: 
     143{{{ 
     144#!sh 
     145./model nom_de_la_config 
     146}}} 
     147 
     148If you want to access these servers you must request a login and a password. To do so, you must contact the person in charge of the model configuration (see above the list of  model managers; their email addresses is also available via the command '''model -h''') [[BR]] 
     149 
     150Example : 
     151{{{ 
     152#!sh 
     153cd modipsl/util 
     154# see all the available configurations 
     155./model -h 
     156# extract the LMDZOR_v5 configuration 
     157./model LMDZOR_v5 
     158}}} 
     159 
     160The source codes of the downloaded models are in the '''modipsl/modeles/''' directory. 
     161 
     162For the previous example you will obtain the following directories :  
     163 * modipsl/modeles/IOIPSL 
     164 * modipsl/modeles/LMDZ 
     165 * modipsl/modeles/ORCHIDEE 
     166 
     167'''modipsl''' also installs a model '''configuration'''. It is installed in the directory '''modipsl/config/''' (here modipsl/config/LMDZOR_v5). [[BR]] 
     168Each model will be compiled and the simulation will be run in the '''`config`''' directory. 
     169 
     170The log files of the installation are stored in the `modipsl/util/log` file. 
     171 
     172## Change a model version ## 
     173By default the available model configurations use specific model versions. But different versions of a given model can be used with a specific configuration. This is the case for the LMDZ version in the "_v5" configurations. You might want to use the latest version on an LMDZ4/branches/LMDZ4_AR5 branch (used for CMIP5 simulations) or you might want to use the new physics scheme of LMDZ and therefore you will need a more recent version of LMDZ5/trunk. To find out which model version to use, please contact the model development team directly. [[BR]] 
     174 
     175If you already know which model version to use, you just have to change the section about the model configuration you selected in '''modipsl/util/mod.def'''. [[BR]] 
     176 
     177For example, to extract the LMDZOR_v5 configuration with the latest revision (HEAD) of LMDZ4_AR5, change '''mod.def''' to obtain : 
     178{{{ 
     179#-C- LMDZOR_v5 LMDZ4/branches/LMDZ4_AR5     HEAD               11 LMDZ       modeles 
     180}}} 
     181or for LMDZ5/trunk revision 1628 : 
     182{{{ 
     183#-C- LMDZOR_v5  LMDZ5/trunk                 1628               11 LMDZ       modeles 
     184}}} 
     185 
     186# Special cases # 
     187 
     188 * '''Reprobus''' : this model has restricted access via svn+ssh. Click [wiki:DocImodelEreprobus here] for more information.  
     189 * '''Orchidee''' :  
     190   * To use the latest version (more recent than the default version): [wiki:DocHconfigHorchideeol click here] 
     191   * Install LMDZOR and ORCHIDEE_OL with the same modipsl : [wiki:DocHconfigBlmdzor#HowtoretrieveORCHIDEE_OLinaLMDZORconfiguration click here] 
     192 
     193----