Changeset 4313


Ignore:
Timestamp:
Oct 26, 2022, 5:15:59 PM (2 years ago)
Author:
musat
Message:

Correction ajouter entete une fois
IonelaMusat?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/Multi_atlas/install_multi_atlas.sh

    r4307 r4313  
    2828# CICLAD
    2929if [ ${hostname:0:5} = cicla ] ; then
     30echo hostname-0-5 is ${hostname:0:5}
    3031# chemin vers le rep dods de base
    3132DODSDIR=/thredds/ipsl
    3233# Rep ou sont stockes les multiatlas
    3334MULTIDIR=$DODSDIR/$login/lmdz/MultiSimu
     35if [ ! -d $MULTIDIR ] ; then mkdir -p $MULTIDIR ; fi
    3436# Rep ou se trouve les sorties cmorizees
    3537ROOT_SIM_DIR=$DODSDIR/$login/lmdz/SE/ORIG
    3638ROOT_OBS_DIR=$DODSDIR/fabric/lmdz/SE/CMOR/OBS
    37 if [ ! -d $MULTIDIR ] ; then mkdir -p $MULTIDIR ; fi
     39
     40\rm entete.sh
    3841# Def entete des jobs
    3942cat <<eod >> entete.sh
     
    5457DODSDIR=$DODSDIR
    5558eod
    56 fi
    57 
    5859# CLIMSERV
    59 if [ ${hostname:0:5} = camel ] ; then
     60elif [ ${hostname:0:5} = camel ] ; then
     61echo hostname-0-5 is ${hostname:0:5}
    6062DODSDIR=/thredds/ipsl
    6163cat <<eod > entete.sh
     
    7577
    7678# IRENE
    77 if [ ${hostname:0:5} = irene ] ; then
     79elif [ ${hostname:0:5} = irene ] ; then
     80echo hostname-0-5 is ${hostname:0:5}
    7881cat <<eod > definerep.sh
    7982MAIN_SE=
     
    101104submit=ccc_msub
    102105eod
    103 fi
    104106
    105107# JEAN-ZAY
    106 if [ ${hostname:0:5} = jean- ] ; then
     108elif [ ${hostname:0:5} = jean- ] ; then
     109echo hostname-0-5 is ${hostname:0:5}
    107110cat <<eod > definerep.sh
    108111MAIN_SE=
     
    172175\mv make_atlas.sh atlas/.
    173176
    174 fi
    175 
    176177cp Utils/lmdz_SE0.py tmp0.py
    177178sed -e s:ROOT_SIM_DIR:$ROOT_SIM_DIR:g tmp0.py > tmp.py
Note: See TracChangeset for help on using the changeset viewer.