Skip to content

[WIP] Scheduler in Cluster - #390

Closed
quasiben wants to merge 1 commit into
dask:mainfrom
quasiben:fea-scheduler-in-cluster
Closed

quasiben wants to merge 1 commit into
dask:mainfrom
quasiben:fea-scheduler-in-cluster

Conversation

@quasiben

@quasiben quasiben commented Mar 5, 2020 •

Copy link
Copy Markdown
Member

This is really hacky and ongoing work to move the scheduler into the cluster. By doing this we should be able to more easily run other communication protocols for the dask cluster such as UCX:

Current idea for how this might look:

cluster = SLURMCluster(
    deploy_mode="remote",
    cores=1,
    memory="5GB",
    protocol="ucx",
    env_extra=[
        "UCX_MEMTYPE_CACHE=n",
        "UCX_SOCKADDR_TLS_PRIORITY=sockcm",
        "UCX_TLS=tcp,cuda_copy,sockcm,cuda_ipc",
    ],
)


cluster.scale(1)
client = Client(cluster)

@quasiben quasiben changed the title checkpoint [WIP] Scheduler in Cluster Mar 5, 2020
@lesteve

lesteve commented Mar 6, 2020

Copy link
Copy Markdown
Member

Interesting so I guess this is related to #186. Independently of ucx this might be something that we want at one point ...

@quasiben

quasiben commented Mar 6, 2020

Copy link
Copy Markdown
Member Author

Yes. The slurm cluster i have been using does not have Infiniband on the edge node so it forced the issue of the scheduler needing to start in the cluster as part of the job

@muammar

muammar commented Mar 24, 2020

Copy link
Copy Markdown

I am having problems with the scheduler being on the login node. It is always killed by admin rules. How can I test this? I would be very happy to try it.

@quasiben

Copy link
Copy Markdown
Member Author

You could checkout this PR and try something like the above but it likely will not work at this stage.

@muammar

muammar commented Mar 26, 2020 via email

Copy link
Copy Markdown

@lesteve
lesteve force-pushed the master branch 2 times, most recently from 4d181fe to 26a0e70 Compare December 8, 2020 12:40
@guillaumeeb

Copy link
Copy Markdown
Member

@quasiben I know this is quite of an old PR, but this would be very cool to pursue!

@quasiben

quasiben commented Mar 7, 2022

Copy link
Copy Markdown
Member Author

This is fairly outdated. I'm going to close and come back to this another time

@quasiben quasiben closed this Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

all job schedulers enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants