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

9 lines
140 B
Bash
Raw Normal View History

2019-05-01 20:20:03 +00:00
#!/bin/bash
2019-05-02 16:04:41 +00:00
#SBATCH --ntasks=1
2019-05-01 20:20:03 +00:00
2019-05-01 21:15:57 +00:00
cd $SLURM_SUBMIT_DIR
2019-05-01 20:20:03 +00:00
mkdir plots/
2019-05-02 16:02:24 +00:00
R --vanilla -f slurm_generate_plots.R --args "plot$SLURM_ARRAY_TASK_ID"