Question

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.

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?

Thanks

Was it helpful?

Solution

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

#$ -l h_rt=2:00:00

Where time is hr:min:sec

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top