Hoffman2:Job Array: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
#!/bin/bash | #!/bin/bash | ||
#$-t 1-100 | #$ -t 1-100 | ||
#$ -cwd | #$ -cwd | ||
# error = Merged with joblog | # error = Merged with joblog |
Revision as of 21:07, 19 December 2019
Job Array or Array jobs make it possible to process different subjects/files using the same script on multiple Hoffman2 working nodes at the same time.
Here, we use the same template code to show how it can be done Submit job
#!/bin/bash #$ -t 1-100 #$ -cwd # error = Merged with joblog #$ -o joblog.$JOB_ID #$ -j y #$ -pe shared 2 #$ -l h_rt=8:00:00,h_data=4G # Email address to notify #$ -M $USER@mail # Notify when #$ -m bea