excluding nodes from qsub command under sge

后端 未结 3 2220
北恋
北恋 2021-02-13 05:14

I have more than 200 jobs I need to submit to and sge cluster. I\'ll be submitting them into two ques. One of the ques have a machine that I don\'t want to submit jobs to. How c

3条回答
  •  我在风中等你
    2021-02-13 05:25

    Assuming you don't want to run it on is called n4 then adding the following to your script should work.

    #$ -l h=!n4
    

    If you add the -l option to the qsub command line rather than embedding it in the submitted script most shells would require the exclamation mark to be quoted.

提交回复
热议问题