Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
climix
climix
Commits
54aa9305
Commit
54aa9305
authored
Nov 04, 2019
by
Klaus Zimmermann
Browse files
Fix dask setup (closes
#124
)
parent
df86bee1
Changes
1
Show whitespace changes
Inline
Side-by-side
climix/dask_setup.py
View file @
54aa9305
...
...
@@ -9,8 +9,7 @@ from dask.distributed import Client, LocalCluster
class
DistributedLocalClusterScheduler
:
def
__init__
(
self
):
self
.
cluster
=
LocalCluster
(
local_directory
=
'/dev/shm/dask-worker-space'
)
self
.
cluster
=
LocalCluster
()
self
.
client
=
Client
(
self
.
cluster
)
def
__enter__
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment