- Example:
- computer : JEANZAY
- config : BENGUELA_LR
- experience : exp1
- Configure your .bashrc
- Paste this [text](https://gitlab.in2p3.fr/christophe.hourdin/pulsation-tools/-/wikis/bashrc) in your .bashrc
- Customize the WORKDIR_EXP, SCRATCHDIR_EXP, STOREDIR_EXP directories to suit your environment (the first lines of .bashrc)
- ". .bashrc" to refresh your environment
- The only directory to be created (The run, output & restart directories are automatically created when running). "wd" is the directory you can backup to keep the full description of all experiments.
mkdir -p ${WORKDIR_EXP}/wd/BENGUELA_LR/exp
cd ${WORKDIR_EXP}/wd/BENGUELA_LR/exp
- Download with gitlab the branch you want (benguela_lr) and name it as you want (exp1).
git clone --branch benguela_lr git@gitlab.in2p3.fr:christophe.hourdin/pulsation-tools.git exp1
- Add the folowing line in your .bashrc. Put it before the text you just pasted.
export CONFIG="BENGUELA_LR"; export EXPER="exp1"
". .bashrc" to refresh your environment
- Download the input files for the BENGUELA_LR config or link to the following directory
mkdir -p ${WORKDIR_EXP}/BENGUELA_LR/inputs
cd ${WORKDIR_EXP}/BENGUELA_LR/inputs
JEANZAY : rsync -a /gpfswork/rech/eee/reee084/BENGUELA_LR/inputs/* .
IRENE : rsync -a /ccc/work/cont005/gen1140/hourdinc/BENGUELA_LR/inputs/* .
DATARMOR : rsync -a /home3/datawork/chourdin/BENGUELA_LR/inputs/* .
if these directories are unreachable, download [BENGUELA_LR inputs tar file](https://owncloud.locean-ipsl.upmc.fr/index.php/s/7B00cuMvAjpIRl7)
- Download the croco_v2.00_orig code or link to the following directory
cd ${WORKDIR_EXP} # or choose another directory
JEANZAY : rsync -a /gpfswork/rech/eee/reee084/croco_v2.00_orig .
IRENE : rsync -a /ccc/work/cont005/gen1140/hourdinc/croco_v2.00_orig .
DATARMOR : rsync -a /home3/datawork/chourdin/croco_v2.00_orig .
if these directories are unreachable, download [ croco_v2.00_orig tar file](https://owncloud.locean-ipsl.upmc.fr/index.php/s/7B00cuMvAjpIRl7)
TEST
sca # alias cd ${ARCHDIR}
vi JEANZAY.env # assign the CROCO_SOURCE variable
-
AJOUTER XIOS !!!!!
- To submit the pre defined first job test (only 2 timesteps)
sca # alias cd ${ARCHDIR}
vi JEANZAY.env # to customize the WORKDIR, SCRATCHDIR, STOREDIR directories to suit your environment
vi JEANZAY.header # to assign you account login
# JEANZAY : #SBATCH --account eee@cpu
# IRENE : #MSUB -A gen1140
# DATARMOR : no account
sc # alias cd ${SCRIPTDIR}
./submitjob.sh # to launch your experience
- To follow the run & get the outputs
JEANZAY : squeue -u $(whoami)
IRENE : ccc_mpp -u $(whoami)
DATARMOR : qstat -u $(whoami)
jo # alias cd ${JOBDIR} ascii pulsation-tools outputs directory
exe # alias cd ${EXEDIR} croco running directory
out # alias cd ${OUTDIR} netcdf output files directory
rst # alias cd ${RSTDIR} restart files directory