Last active
February 9, 2023 07:52
-
-
Save rjurney/2cea97e3e53d7743523cc18794462f01 to your computer and use it in GitHub Desktop.
A script to start single node Dask with as many workers as your machine has processor cores
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Launch the scheduler | |
nohup dask scheduler --host 127.0.0.1 --port 9000 --protocol tcp --dashboard --no-show 2>&1 >> /tmp/dask.log & | |
nohup nohup dask worker --nworkers=-1 tcp://127.0.0.1:9000 2>&1 >> /tmp/dask.log & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment