3

I would like to change the number of slots on a running SGE instance. The instance was started by StarCluster.

I tried following this page and running:

ubuntu@master: $ qconf -mattr exechost complex_values slots=1 master
ubuntu@master modified "master" in exechost list

but it does not look like anything changed:

ubuntu@master: $ qstat -f
queuename                      qtype resv/used/tot. load_avg arch          states
---------------------------------------------------------------------------------
all.q@master                   BIP   0/1/8          1.04     linux-x64     
Alex Rothberg
  • 10,243
  • 13
  • 60
  • 120

1 Answers1

4

run

qconf -mq all.q

Then you will see a line

slots                 1,[master=0],[node1366=2],[node1379=2]

If you want master to have 1 slot, change it to

[master=1]

Save and quit. That's as simple as that.

Finch_Powers
  • 2,938
  • 1
  • 24
  • 34