Jump to content
  • Announcements

    • admin

      PBS Forum Has Closed   06/12/17

      The PBS Works Support Forum is no longer active.  For PBS community-oriented questions and support, please join the discussion at http://community.pbspro.org.  Any new security advisories related to commercially-licensed products will be posted in the PBS User Area (https://secure.altair.com/UserArea/). 
som1006

Disabling restart of job on another in case of failure of node

Recommended Posts

There is a job attribute that determines whether a job is rerunnable. 


 


See -r or rerunnable in the guides. 


 



-r y|n


Changes whether the job is rerunnable. Sets job’s Rerunnable attribute to the argument. Does not affect how job is treated when the job was unable to begin execution.

See the qrerun(1B) command.

Format: single character, “y” or “n”.

Default: “y”


 

If you find that setting this job attribute to "n" by default, you can define the default_qsub_argument on the server via qmgr:

 

qmgr -c 'set server default_qsub_arguments = "-r n"'

 

Or, you can create a hook to enforce the "-r n" for qsub (queuejob) and qalter (modifyjob). I am suggesting modifyjob because it is possible for the user can change attributes of the job after submission. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×