Changes between Version 2 and Version 3 of IPSLCM5_v5


Ignore:
Timestamp:
12/14/11 17:48:12 (13 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IPSLCM5_v5

    v2 v3  
    1 New set up of the coupled model of IPSL. This configuration contains possiblity to run IPSLCM5A, IPSLCM5B or IPSLCM5_C 
     1New set up of the coupled model of IPSL. This configuration contains possibility to run IPSLCM5A, IPSLCM5B or IPSLCM5_C 
    22 
     3To use the configuration IPSLCM5_v4, it is necessary to extract modipsl rev 1618 or later.  
    34 
    4 Extrate using modipsl, all the same as IPSLCM5A excepte the configuration should be IPSLCM5_v4 
     5Extract using modipsl, same as IPSLCM5A except the configuration should be IPSLCM5_v4 
    56Add in mod.def : 
    67 
     
    2425#-C- IPSLCM5_v4  OASIS3                    ipslcm5a         1  prism      . 
    2526#-C- IPSLCM5_v4  LMDZ4/branches/LMDZ4_AR5/     1602        11  LMDZ4      modeles 
    26 #-C- IPSLCM5_v4  CONFIG/IPSLCM/IPSLCM5_v4        HEAD         8  IPSLCM5_v4  config 
     27#-C- IPSLCM5_v4  CONFIG/IPSLCM/IPSLCM5_v4      HEAD         8  IPSLCM5_v4 config 
    2728#-C- IPSLCM5_v4  tags/libIGCM_v1_12            HEAD        10  libIGCM    . 
    2829#-C- IPSLCM5_v4  branches/CMIP5_IPSL/NEMO      3205         7  .          modeles 
    2930#-C- IPSLCM5_v4  branches/CMIP5_IPSL/UTIL      3205         7  .          modeles 
    3031#-C- IPSLCM5_v4  XMLF90                         297        12  .          modeles 
    31 #-C- IPSLCM5_v4  XMLIO_SERVER/trunk             297        12  XMLIO_SERVER       modeles 
     32#-C- IPSLCM5_v4  XMLIO_SERVER/trunk             297        12  XMLIO_SERVER  modeles 
    3233 
    3334}}} 
    3435 
    3536 
    36 In ins_job, add at line 110, following lines : 
     37 
     38== Difference in use of new structure == 
     39'''Contents of the configuration directory IPSLCM5_v4'''[[BR]] 
     40 
    3741{{{ 
    38  
    39  print - "\nWorking with file ${F_CFG}\nin directory ${j}\nfor ${n_f}"; 
    40   if [ ! X$( echo ${j} | grep USER_SPEC ) = X ] ; then 
    41       echo "USER_SPEC directory exist in path, do not use this config.card" 
    42       continue 
    43   fi 
    44  
    45 # Add specific treatment if new type of configuration 
    46   if [ -d ${j}/USER_SPEC ] && [ -d ${j}/GENERAL ] ; then 
    47       echo "This is new configuration structure" 
    48       IGCM_card_DefineVariableFromOption ${j}'/'${F_CFG} UserChoices JobName 
    49       IGCM_card_DefineVariableFromOption ${j}'/'${F_CFG} UserChoices UserSpec 
    50       echo "JobName=${config_UserChoices_JobName}" 
    51       if [ X${config_UserChoices_UserSpec} = X ] ; then 
    52         echo "The variable UserSpec must be added in config.card in section UserChoices" 
    53         echo "UserSpec gives the directory for the .card configurtaion files for the wanted experiement. For exemple UserSpec=IPSLCM5/historical" 
    54         echo "UserSpec= $Config_UserChoices_UserSpec " 
    55         continue 
    56       else 
    57         echo "UserSpec= $Config_UserChoices_UserSpec " 
    58       fi 
    59  
    60       if [ -d ${j}/${config_UserChoices_JobName} ] ; then 
    61           echo "Directory ${j}/${config_UserChoices_JobName} exist already, continue next config.card" 
    62           continue 
    63       fi 
    64       cp -r ${j}/USER_SPEC/${config_UserChoices_UserSpec} ${j}/${config_UserChoices_JobName} 
    65       cp -r ${j}/GENERAL/* ${j}/${config_UserChoices_JobName}/. 
    66       cp -f ${j}/${F_CFG}  ${j}/${config_UserChoices_JobName}/. 
    67       j=${j}/${config_UserChoices_JobName} 
    68       echo new j=$j 
    69   fi 
    70 # end test and work 
     42> ls 
     43AA_make 
     44AA_make.ldef 
     45scripts 
     46config.card 
     47GENERAL 
     48USER_SPEC 
    7149}}} 
    7250 
     51The AA_make* files and the directory scripts are used for the compiling. There are no differences in compiling compared to IPSLCM5A.[[BR]] 
    7352 
     53For the running part, there are 2 directories USER_SPEC and GENERAL and one config.card. The directory GENERAL contains the sub-directories POST, PARAM and DRIVERS. The files in GENERAL are used for all types of experiments using this configuration. [[BR]] 
     54USER_SPEC contains different sub-directories with all cards needed for a set of proposed experiments. For one experiment, a config.card and a directory COMP exist. The COMP directory contains all components card for the experiment. For exemple the expermiment historical :  
     55 
     56{{{ 
     57> ls USER_SPEC 
     58IPSLCM5A 
     59 
     60> ls USER_SPEC/IPSLCM5 
     61Chistorical 
     62CpiControl 
     63EXP00 
     64historical 
     65piControl 
     66 
     67> ls USER_SPEC/IPSLCM5/historical 
     68config.card 
     69COMP 
     70 
     71> ls USER_SPEC/IPSLCM5/historical/COMP 
     72lim2.card 
     73lmdz.card 
     74oasis.card 
     75opa9.card 
     76orchidee.card 
     77pisces.card 
     78stomate.card 
     79}}} 
     80  
     81[[BR]] 
     82 
     83'''How to create a job and run directory''' 
     84Combining the GENERAL directory with one of the sub-directories in USER_SPEC makes a complete run directory. The ins_job now contains an  
     85 
     86 
     87To set up a complete run directory,  is done by adding one of the sub-directories in USER_SPEC into the GENERAL directory.  
     88 
     89 
     90 
     91