k8s-hpc-demo/demos/sample_means/slurm_submit_generate_plots.sh
2019-05-01 15:20:03 -05:00

10 lines
155 B
Bash

#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
cd $SLURM_SUBMIT_DIR
mkdir plots/
R --vanilla -f generate.R --args "plot$SLURM_ARRAY_TASK_ID"