k8s-hpc-demo/demos/sample_means/slurm_submit_generate_plots.sh

10 lines
161 B
Bash
Raw Normal View History

2019-05-01 20:20:03 +00:00
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
cd $SLURM_SUBMIT_DIR
mkdir plots/
2019-05-01 20:22:08 +00:00
R --vanilla -f generate_plots.R --args "plot$SLURM_ARRAY_TASK_ID"