excluding nodes from qsub command under sge

后端 未结 3 2160
北恋
北恋 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

    There is a nice bypass to this.

    Generate a simple bash file:

    #!/bin/bash
    sleep 6000 #replace 6000 with any long period of time that will be enough to submit your jobs
    

    submit this jobs to the node you wish to exclude until they fully occupy it.

    Voila, your node is exclude.

提交回复
热议问题