-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set interface in SLURMRunner
#681
Comments
You should be able to configure the interface today like this from dask.distributed import Client
from dask_jobqueue.slurm import SLURMRunner
with SLURMRunner(scheduler_options={"interface": "ib0"}, worker_options={"interface": "ib0"}) as runner:
with Client(runner) as client:
client.wait_for_workers(runner.n_workers)
print(f"Number of workers = {runner.n_workers}") I agree it might be nice to set a top-level dask-jobqueue/dask_jobqueue/slurm.py Line 206 in e67631d
dask-jobqueue/dask_jobqueue/slurm.py Lines 228 to 235 in e67631d
|
One way we could implement this would be to capture dask-jobqueue/dask_jobqueue/runner.py Lines 61 to 70 in e67631d
That way you could pass abritrary kwargs to |
This indeed worked, thanks! Is there a use case where scheduler and worker processes rely on different network interfaces? Because otherwise, one may simply have a single |
Sometimes you might want the client <> scheduler communication to be on a different interface then worker <> scheduler communication. Being able to set However I think 99% of the time if you are setting the interface to |
Originally posted by @sanghyukmoon in #638
The text was updated successfully, but these errors were encountered: