qsub 指定节点_qsub命令选项

qsub

命令选项

2012-02-15 17:14

SGE qsub

命令

选项

笔记

qsub

qsub

命令用来向

SGE

提交批处理作业,

SGE

支持单或多节点作业。

qsub [ options ] [ command | -- [ command_args ]]

1. -@ optionfile (contains all valid options)

就是把

qsub

命令的可选项

组合成一定功能的语句,保存在一个文件中。

qsub -a optionfilename

jobfilename

2. -a date_time

设置作业什么时候可以执行。

格式:

CC YY MMDDHHMM.SS

201109272213.21 qsub -a 201109272213.21 ../simplejob

3. -A account_string Identifies the account to which the resource

consumption of the job should be charged

设置一个作业的账户名

,

便于统计

该账户使用的资源等信息

qsub -A testaccountname jobname

4.

-ac

添加名

/

值对到作业上下文

-dc

删除。

-sc

设置

(修改)

Contexts

provide a way to dynamically attach and remove meta- information to and

from a job. The context variables are not passed to the job's execution

context

in

its

environment

The

outcome

of

the

evaluation

of

all

-ac,

-dc,

and

-sc options

or corresponding

values in

qmon is passed

to defined JSV

instances as parameter with the name -ac.

5. -ar ar_id

分配已提交作业,作为它的一部分,给已存在预约。

ar=advance

reservation qsub -ar 60 jobname #ai_di = unsigned integer

6. -b y[es]|n[o] Gives the user the possibility to indicate explicitly

whether command should be treated as binary or script.

7. -binding

等待理解

8.

-c

occasion_specifier

(际符)

定义或者重定义作业是否要被检查,

if

是,

在什么环境下。

n no checkpoint is performed. s checkpoint when batch

server is shut down. m checkpoint at minimum CPU interval. x checkpoint

when job gets suspended.  checkpoint in the specified time

interval. qsub -c n jobname

9. -C prefix_string

前缀字符串定义一个在作业命令中的指令

qsub -C

"#$" ../simplejob

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值