Ignore:
Timestamp:
Jul 1, 2020, 9:31:32 PM (4 years ago)
Author:
idelkadi
Message:

Repository under svn of a first version of Multiatlas diagnostics for LMDZ. This version is adapted to be able to run a LMDZ multiatlas on an individual account on the ciclad machine of the IPSL. In this version, the parts to be modified are identified so as to subsequently adapt it to other machines.
Update atlas scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/Multi_atlas/install_multi_atlas.sh

    r3743 r3745  
    55# Reprise Mars 2020
    66# installer les scripts de post-traitement multi-atlas pour LMDZ sur une machine
    7 # le packege sera integrer sous svn aux sources du modele ..../BOL/
     7# le packege sera integre sous svn aux ..../BOL/Multi-Atlas
    88# Ce script permet de definir les differents repertoires en fonction de la machine
    99# Permet de creer les sscripts job_multi.sh et atlas.sh
    1010#################################################################################
     11#
     12#
    1113# Definition des coleurs d'affichage
    1214noir='\e[0;30m' gris='\e[1;30m' rougefonce='\e[0;31m' rose='\e[1;31m' vertfonce='\e[0;32m' vertclair='\e[1;32m' orange='\e[0;33m' jaune='\e[1;33m' bleufonce='\e[0;34m' bleuclair='\e[1;34m' violetfonce='\e[0;35m' violetclair='\e[1;35m' cyanfonce='\e[0;36m' cyanclair='\e[1;36m' grisclair='\e[0;37m' blanc='\e[1;37m' neutre='\e[0;m'
     
    1921
    2022#set -x
    21 # Nom machine et compte
     23# Nom machine et login
    2224hostname=`hostname`
    2325login=`whoami`
     
    3234# Rep ou se trouve les sorties cmorizees
    3335ROOT_SIM_DIR=$DODSDIR/$login/lmdz/SE/ORIG
    34 ROOT_OBS_DIR=$DODSDIR/$login/lmdz/SE/CMOR/OBS
     36ROOT_OBS_DIR=$DODSDIR/fabric/lmdz/SE/CMOR/OBS
    3537if [ ! -d $MULTIDIR ] ; then mkdir -p $MULTIDIR ; fi
    36 
    37 # Def entete des job
     38# Def entete des jobs
    3839cat <<eod >> entete.sh
    3940#PBS -N atlas
     
    103104fi
    104105
    105 # JEAN-
     106# JEAN-ZAY
    106107if [ ${hostname:0:5} = jean- ] ; then
    107108cat <<eod > definerep.sh
     
    133134
    134135# PC (formation et perso linux)
    135 
    136136# Machines locales lmd
    137137
     
    140140echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%% ${rougefonce} LMDZ MULTIATLAS ${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
    141141echo
    142 echo -e "${vertfonce}"To create your multi-atlas you needs :
     142echo -e "${bleufonce}"To create your multi-atlas you needs :
    143143echo 1.  to create your multiatlas directory "example Multi01" :
    144144echo     mkdir -p /modfs/ipslfs/dods/$login/lmdz/MultiSimu/Multi01
     
    153153echo 3.   Add the link to the simulation outputs in your file : $local/runs.txt
    154154echo
     155
     156### creer le job principal
    155157rm -f job_multi.sh
    156158cat entete.sh >| job_multi.sh
     
    170172\mv lmdz_SE.py atlas/.
    171173
    172 
    173174echo 4. Then you can run your multiatlas :
    174175echo ./job_multi.sh Multi01
Note: See TracChangeset for help on using the changeset viewer.