Ignore:
Timestamp:
Jun 5, 2020, 1:23:26 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.
Corrections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/Multi_atlas/install_multi_atlas.sh

    r3694 r3696  
    5050DODSDIR=$DODSDIR
    5151eod
    52 
    53 # Def env atlas
    54 cat <<eod >> defatlasenv.sh
    55 ########################################################################################################
    56 # Environnement
    57 module list
    58 which python
    59 ulimit -s unlimited
    60 export PYTHONPATH=$PYTHONPATH:/home/fabric/users/denvil/climaf
    61 export PATH=$PATH:/home/fabric/users/denvil/climaf/bin
    62 STORAGE=$DODSDIR/$login/lmdz/STORE
    63 if [ ! -d $DODSDIR/$login/climafCache ] ; then mkdir -p $DODSDIR/$login/climafCache ; fi
    64 export CLIMAF_CACHE=$DODSDIR/$login/climafCache
    65 echo CLIMAF_CACHE $CLIMAF_CACHE
    66 MULTIDIR=$MULTIDIR
    67 DIRATLAS=$DODSDIR/$login/lmdz/atlas
    68 ATLAS_DIR=$DODSDIR/$login/lmdz/atlas/Atlas$$
    69 if [ ! -d $DODSDIR/$login/lmdz/atlas/Atlas$$ ] ; then mkdir -p $DODSDIR/$login/lmdz/atlas/Atlas$$ ; fi
    70 ########################################################################################################
    71 eod
    72 
    7352fi
    7453
     
    154133# Machines locales lmd
    155134
     135local=`pwd -P`
     136
    156137echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%% ${rougefonce} MULTIATLAS LMDZ ${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
    157 echo -e "${bleufonce}" To create your multi-atlas you needs :
     138echo -e "${vertfonce}" To create your multi-atlas you needs :
    158139echo 1.  to create your multiatlas directory "example Multi01" :
    159140echo    - mkdir -p /prodigfs/ipslfs/dods/$login/lmdz/MultiSimu/Multi01
     
    164145echo     define atlas variables in file
    165146echo    - /prodigfs/ipslfs/dods/$login/lmdz/MultiSimu/Multi01/atlas.def
     147echo 3.   Add the link to the simulation outputs in your file : $local/runs.txt
    166148
    167149rm -f job_multi.sh
     
    172154rm -f atlas.sh
    173155cat entete.sh >| atlas.sh
    174 cat defatlasenv.sh >> atlas.sh
    175156cat Utils/atlas0.sh >> atlas.sh
    176157chmod +x atlas.sh
    177158\mv atlas.sh atlas/.
    178159
    179 echo Then you can run your multiatlas :
     160echo 4. Then you can run your multiatlas :
    180161echo ./job_multi.sh Multi01
    181162echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
Note: See TracChangeset for help on using the changeset viewer.