SLURM sbatch job array for the same script but with different input string arguments run in parallel
问题 My question is similar with this one, and the difference is that my different arguments are not numbers but strings. If I have a script (myscript.R) that takes two strings as arguments: "text-a", "text-A". My shell script for sbatch would be: #!/bin/bash #SBATCH -n 1 #SBATCH -c 12 #SBATCH -t 120:00:00 #SBATCH --partition=main #SBATCH --export=ALL srun ./myscript.R "text-a" "text-A" Now I have a few different input strings that I'd like to run with: first <- c("text-a","text-b","text-c","text