Sun Grid Engine上的超时作业 [英] Timeout jobs on sun grid engine

查看:90
本文介绍了Sun Grid Engine上的超时作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Sun Grid Engine(Linux)运行很多工作.其中一些工作需要很长时间才能运行,而我不知道提前哪个.

I'm running a lot of jobs with sun grid engine (linux). Some of the jobs take a (very) long time to run, and I don't know ahead which ones.

我想停止运行超过2个小时的作业.可以使用SGE运行吗?可以从unix外壳上做到吗?

I would like to stop jobs that run for more than, say, 2 hours. Is it possible to run using SGE? Is it possible to do it from the unix shell?

谢谢

推荐答案

如果您自己运行作业,则使用硬挂钟时间.

If you're running the jobs yourself then use the hard wall clock time.

#$ -l h_rt = 2:00:00

#$ -l h_rt=2:00:00

时间是hr:min:sec

Where time is hr:min:sec

这篇关于Sun Grid Engine上的超时作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆