Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. for TARGET in 't1' 't2' 't3'
  2. do
  3.  
  4. JOB=$(cat <<EOF
  5. #!/usr/bin/env bash
  6.  
  7. #SBATCH --partition=defq
  8. #SBATCH --ntasks=1
  9. #SBATCH --cpus-per-task=6
  10. #SBATCH --mem=64G
  11. #SBATCH --time=10-00:00
  12. #SBATCH --job-name=org_${TARGET}
  13.  
  14. module load anaconda3/current
  15.  
  16. EOF
  17. )
  18. echo "$JOB" > "job/${TARGET}.sh"
  19. # sbatch "job/${TARGET}.sh"
  20. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement