I'm trying to use dask-jobqueue on an SGE cluster, and by default our worker nodes cannot communicate back to the login node. The admins have set aside a small range of ports us to use for this, but I can't seem to specify a port/port range for the scheduler to listen on. I see with dask.distributed's LocalCluster, you can specify the argument scheduler_port, but SGECluster does not seem to take the keyword (though it doesn't complain):
cluster = SGECluster(queue='short.q',
cores=10,
memory='20GB',
walltime='00:20:00',
scheduler_port=8804)
cluster.scheduler shows the scheduler still being assigned a random port (always around 40,000):
<Scheduler: "tcp://169.230.126.85:39008" processes: 0 cores: 0>
Is there a way to configure this?
Thanks.
I'm trying to use dask-jobqueue on an SGE cluster, and by default our worker nodes cannot communicate back to the login node. The admins have set aside a small range of ports us to use for this, but I can't seem to specify a port/port range for the scheduler to listen on. I see with
dask.distributed'sLocalCluster, you can specify the argumentscheduler_port, butSGEClusterdoes not seem to take the keyword (though it doesn't complain):cluster.schedulershows the scheduler still being assigned a random port (always around 40,000):Is there a way to configure this?
Thanks.