5224692df0bfe72167e03f4b35f9af0cfd5bfc40
qsub/\344\273\226\343\201\256\343\202\270\343\203\247\343\203\226\343\201\256\347\265\202\344\272\206\343\202\222\345\276\205\343\201\243\343\201\246\343\201\213\343\202\211\345\256\237\350\241\214\343\201\231\343\202\213.md
... | ... | @@ -8,4 +8,57 @@ $ qsub -N job3 -cwd ./job3_script |
8 | 8 | |
9 | 9 | ``` |
10 | 10 | $ qsub -hold_jid job1,job2,job3 -cwd ./results_script |
11 | +``` |
|
12 | + |
|
13 | +``` |
|
14 | +-N name |
|
15 | + Available for qsub, qsh, qrsh, qlogin and qalter only. |
|
16 | + |
|
17 | + The name of the job. The name should follow the "name" definition in sge_types(5). |
|
18 | + Invalid job names will be denied at submit time. |
|
19 | + |
|
20 | + If the -N option is not present, Grid Engine assigns the name of the job script to |
|
21 | + the job after any directory pathname has been removed from the script name. If the |
|
22 | + script is read from standard input, the job name defaults to STDIN. |
|
23 | + |
|
24 | + In the case of qsh or qlogin with the -N option is absent, the name "INTERACTIVE" or |
|
25 | + "QLOGIN" respectively is assigned to the job. |
|
26 | + |
|
27 | + In the case of qrsh if the -N option is absent, the resulting job name is determined |
|
28 | + from the qrsh command line by using the argument string up to the first occurrence |
|
29 | + of a semicolon or whitespace and removing the directory pathname. With no command, |
|
30 | + "QRLOGIN" is used. |
|
31 | + |
|
32 | + Qalter allows changing this option even while the job executes. |
|
33 | + |
|
34 | + The value specified with this option or the corresponding value specified in qmon |
|
35 | + will be passed to defined JSV instances as parameter with the name N. (See -jsv |
|
36 | + option above or find more information concerning JSV in jsv(1).) |
|
37 | +``` |
|
38 | +``` |
|
39 | + -hold_jid wc_job_list |
|
40 | + Available for qsub, qrsh, and qalter only. See sge_types(5). For the definition of |
|
41 | + wc_job_list. |
|
42 | + |
|
43 | + Defines or redefines the job dependency list of the submitted job. A reference by |
|
44 | + job name or pattern is only accepted if the referenced job is owned by the same user |
|
45 | + as the referring job. The submitted job is not eligible for execution unless all |
|
46 | + jobs referenced in the comma-separated job id and/or job name list have completed. |
|
47 | + If any of the referenced jobs exits with exit code 100, the submitted job will |
|
48 | + remain ineligible for execution. |
|
49 | + |
|
50 | + With the help of job names or regular patterns, one can specify a job dependency on |
|
51 | + multiple jobs satisfying the regular pattern, or on all jobs with the requested |
|
52 | + name. The name dependencies are resolved at submit time and can only be changed via |
|
53 | + qalter. New jobs or name changes of other jobs will not be taken into account. To |
|
54 | + remove a job dependency list with qalter, use a null wc_job_list, i.e. use |
|
55 | + qalter -hold_jid '' ... |
|
56 | + |
|
57 | + Qalter allows changing this option even while the job executes. The modified parame‐ |
|
58 | + ter will only be in effect after a restart or migration of the job, however. |
|
59 | + |
|
60 | + If this option or a corresponding value in qmon is specified then this value will be |
|
61 | + passed to defined JSV instances as parameter with the name hold_jid. (See -jsv |
|
62 | + option below or find more information concerning JSV in jsv(1).) |
|
63 | + |
|
11 | 64 | ``` |
... | ... | \ No newline at end of file |