...
Example job script, myscript.job
#!/bin/sh # This is a very simple example job script /Users/jdoe/my_program |
Anchor | ||||
---|---|---|---|---|
|
...
Job script example with qsub directive
#!/bin/sh # This is an example script showing how to specify qsub options #$ -q all.q |
The "#$ -q all.q
" line will look like a comment to the shell interpreter but will be passed as a qsub directive when the job script is submitted to SGE. Any of the qsub options can be specified this way.
...
Example referencing task ID
#!/bin/sh # Example showing how task arrays work render input$SGE_TASK_ID |
...