Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update job script #1757

Merged
merged 7 commits into from Jul 23, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 10 additions & 8 deletions esmvaltool/utils/batch-jobs/job_DKRZ-MISTRAL.sh
@@ -1,29 +1,31 @@

#!/bin/bash -e
###############################################################################
### BATCH SCRIPT TO RUN THE ESMVALTOOL AT DKRZ MISTRAL
### Author: Mattia Righi (DLR)
###############################################################################
#SBATCH --partition=compute
#SBATCH --time=08:00:00
#SBATCH --partition=prepost
#SBATCH --exclusive
#SBATCH --nodes=1
#SBATCH --mem=0
#SBATCH --time=12:00:00
#SBATCH --mail-type=FAIL,END
#SBATCH --account=bd0854
#SBATCH --account=XXXXXX
#SBATCH --output=job_%j.out.log
#SBATCH --error=job_%j.err.log
###############################################################################

# Submit job with: sbatch job_DKRZ-MISTRAL.sh

# Input arguments
RECIPE=recipe_perfmetrics_CMIP5.yml
CONFIG=config-user.yml
RECIPE= # e.g. recipe_perfmetrics_CMIP5.yml
CONFIG= # e.g. config-user.yml

# Set environment
CONDAPATH= # e.g. /home/soft/miniconda3/
CONDAENV= # e.g. $CONDAPATH/envs/esmvaltool/bin
ESMVALPATH= # e.g. /home/ESMValTool/esmvaltool
bouweandela marked this conversation as resolved.
Show resolved Hide resolved
mattiarighi marked this conversation as resolved.
Show resolved Hide resolved

# Changes below this line should not be required
export PATH=$PATH:$CONDAPATH/bin/
conda info --envs
$CONDAENV/esmvaltool $ESMVALPATH/recipes/$RECIPE -c $ESMVALPATH/$CONFIG

esmvaltool run --config-file $CONFIG $RECIPE
39 changes: 0 additions & 39 deletions esmvaltool/utils/batch-jobs/job_PA2-CLUSTER.sh

This file was deleted.