Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for TARGET in 't1' 't2' 't3'
- do
- JOB=$(cat <<EOF
- #!/usr/bin/env bash
- #SBATCH --partition=defq
- #SBATCH --ntasks=1
- #SBATCH --cpus-per-task=6
- #SBATCH --mem=64G
- #SBATCH --time=10-00:00
- #SBATCH --job-name=org_${TARGET}
- module load anaconda3/current
- EOF
- )
- echo "$JOB" > "job/${TARGET}.sh"
- # sbatch "job/${TARGET}.sh"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement