Advertisement
Guest User

Untitled

a guest
Aug 27th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. #!/bin/bash
  2. ### QSUB Parameters (6678 for pl runs)
  3. #PBS -q batch
  4. #PBS -t 0-6678
  5. #PBS -j oe
  6. #PBS -N emc_ion_a2.5_L20.0
  7. ### EBTEL Configuration options
  8. alpha=2.5
  9. loopLength=20.0
  10. species=ion
  11. tpulse=100.0
  12. solver=euler
  13. ### Setup path to script and root config paths
  14. script="/home/wtb2/Documents/EBTEL-2fluid_repo/bin/ebtel-2fl quiet "
  15. s1="/data/datadrive2/EBTEL-2fluid_runs/${species}_heating_runs/alpha${alpha}/config/"
  16. s2="ebtel_L${loopLength}_tn"
  17. s3="_tpulse${tpulse}_${solver}"
  18. ###Load file with all possible configurations
  19. job_array=(`cat $s1"ebtel_L${loopLength}"$s3"_job_array.conf"`)
  20. ### Submit job
  21. cd $PBS_O_WORKDIR
  22. $script$s1$s2${job_array[$((2*$PBS_ARRAYID))]}$s3"/"$s2${job_array[$((2*$PBS_ARRAYID))]}$s3"_"${job_array[$((2*$PBS_ARRAYID+1))]}".xml"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement