Hi
I'm afraid we don't have specific command to achieve task level node exclusion. What you can accomplish:
1. Through job excluded nodes: "job modify <jobid> /addexcludednodes:nodename", this way your requeued tasks won't run on the nodes that failed your tasks. If you find that quite a few tasks failed on somenodes, you can exclude
that node from the running job.
2. Through node prep task: usually tasks failed on some nodes due to some pre-requesit won't ready on the nodes, thus you can provide pre-requesit task to ensure that the node is ready for your job. Node prep task will run on nodes that first allocated to
the job. And the node will be excluded from the job if node prep task failed.
Qiufang Shi