#!/bin/bash
#MSUB -r PrePARE
#MSUB -n 8
#MSUB -T 3600
#MSUB -q skylake
#MSUB -A devcmip6
#MSUB -o PrePARE.out
#MSUB -e PrePARE.out
#MSUB -m work

module load datadir/gencmip6
export PATH=$GENCMIP6_ALL_CCCWORKDIR/miniconda/bin:$PATH
source activate cmip6

SIMULATION=/ccc/work/cont003/gencmip6/p86denv/IGCM_OUT/IPSLCM6/PROD/historical/CM61-LR-hist-03.1990/CMIP6/
LOGDIR=/ccc/work/cont003/gencmip6/p86denv/IGCM_OUT/IPSLCM6/PROD/historical/CM61-LR-hist-03.1990

PrePARE $SIMULATION -l $LOGDIR --exclude-file ".*_Nonemon_.*" --exclude-file ".*_HOM.*" --exclude-file ".*-clim\.nc" --max-processes 8

source deactivate