Hi,

We would like to force array  job to use at max a value N.

Actually users requests array tasks like :

# $-t 1-100 -tc 60

we want to limit the tc value at 20 maximum.

Is there another solution without using JSV ?

I tried to write a JSV for that but i don't know how to override  the
requested value, here is my scratch script :

tc=$(jsv_get_param t_step)

  if [[ $tc  gt 20 ]]; then
    jsv_set_param tc "20"
    jsv_correct "Job was modified"
  else
    jsv_accept "Job OK"
  fi
  return


Thanks in advance.
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to