You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linking to @jhamman's comment, one of the challenges here is setting up CI for Dask. There has been some already towards using SGE (particularly at dask-drmaa) for testing. Configuring other schedulers (e.g. SLURM, PBS, LSF, etc.) is possible, but can be a bit tricky. Docker helps with this, but it requires a fair bit of configuration to get right.
One resource that might be useful are these Docker images, which include SLURM and TORQUE (similar to PBS). That said, I'm not sure what license applies to these. Also they may not work out of the box (as was my experience with using their Grid Engine some time back). That said, they should at least provide useful insights on how to get working Docker images for these different cases. For simplicity, would propose building and hosting images for respective schedulers so that CI can just download them.
I agree that this is both valuable and somewhat time consuming to set up. If anyone has the time to contribute a CI setup for one of the job schedulers that would be very welcome.
To be honest I rarely use github assignment. It looks like this is difficult to do without having you as part of the organization (which is currently somewhat challenging). We might have to go with informal assignment for the time being.
Grid Engine should basically be just copying over what dask-drmaa already has. Maybe that is the best place to start and then we can extend from there. Is Travis CI enabled here?
Think I need to have admin on the repo as it requires the ability to add webhooks. Not sure if there is anything more granular. Honestly don't know if I'd need admin for anything else. Leave it up to you whether to grant it or not.
Grid Engine should basically be just copying over what dask-drmaa already has. Maybe that is the best place to start and then we can extend from there. Is Travis CI enabled here?
You know, the funny thing is that if we got a testing system for GE then that might be enough motivation to implement an SGECluster here just to get the test coverage. It's rare that one builds source to capture testing, but in this case the ratio of difficulty in writing testing code and source code is so great that it makes sense :)
Testament to @jedwards4b 's refactor of JobQueueCluster I guess :)
I have a fair bit of SGE experience, and a cluster that I could test this on apart from travis. I'd be happy to contribute the SGECluster. I'll open a separate issue. (see #3).
Note that SGE was the model system for https://github.com/dask/dask-drmaa ,
the other library that is most like this repo.
Historically I worked on dask-drmaa a year or so ago. Folks like
@jakirkham picked it up and have evolved it since then. When I then
prototyped the PBSCluster for Pangeo I based it somewhat off of the design
of dask-drmaa. As a result the two libraries have an interesting shared
history.
In particular, we have a docker-compose setup for SGE that works well on
travis-ci. If I recall correctly this was designed by @quasiben
On Thu, Mar 1, 2018 at 9:19 PM, Matthew Rocklin <[email protected]>
wrote:
Can non member of the org see what's happening on travis-ci for any dask repository?
Shall we fork the repository if we want to test/check the CI build?
And lastly, I believe we want a minimaly representative test cluster, so with one master and two slaves such as what is done for dask/dask-drmaa, and not a one node master/slave cluster?
Depending on external images seems fine to me. We would probably want to
pin a particular image tag.
Yes, I think that having at least two workers would be good.
I propose to close this issue by opening more specific ones, e.g. one for PBS and one for SLURM. We already have basic CI with unit tests and for SGE.
Are you OK with this?
Activity
luizirber commentedon Mar 1, 2018
This repo has an example using SLURM: https://github.com/Snakemake-Profiles/slurm
mrocklin commentedon Mar 1, 2018
I agree that this is both valuable and somewhat time consuming to set up. If anyone has the time to contribute a CI setup for one of the job schedulers that would be very welcome.
luizirber commentedon Mar 1, 2018
I can take a look for SLURM (can you assign this issue to me?)
mrocklin commentedon Mar 1, 2018
To be honest I rarely use github assignment. It looks like this is difficult to do without having you as part of the organization (which is currently somewhat challenging). We might have to go with informal assignment for the time being.
Regardless, thank you for stepping up!
jakirkham commentedon Mar 1, 2018
Grid Engine should basically be just copying over what dask-drmaa already has. Maybe that is the best place to start and then we can extend from there. Is Travis CI enabled here?
mrocklin commentedon Mar 1, 2018
Nope. Nothing yet.
jakirkham commentedon Mar 1, 2018
Would you be willing to do that? I could copy over the testing code. Just don't think I have permissions to add CI is all.
mrocklin commentedon Mar 1, 2018
Do you know how I can give you that permission?
jakirkham commentedon Mar 1, 2018
Think I need to have admin on the repo as it requires the ability to add webhooks. Not sure if there is anything more granular. Honestly don't know if I'd need admin for anything else. Leave it up to you whether to grant it or not.
mrocklin commentedon Mar 1, 2018
OK, you have admin rights. I guess the difference here is the owner/member of the org distinction? Further reason to push on dask/dask#3223
mrocklin commentedon Mar 1, 2018
@jhamman @jedwards4b you two also now have rights on this repository
jakirkham commentedon Mar 1, 2018
Thanks.
Agree that we need to figure out org rights. Will try to make next meeting so we can discuss more.
Enabled Travis CI, but told it to skip until there is a
.travis.ymlfile.mrocklin commentedon Mar 2, 2018
You know, the funny thing is that if we got a testing system for GE then that might be enough motivation to implement an SGECluster here just to get the test coverage. It's rare that one builds source to capture testing, but in this case the ratio of difficulty in writing testing code and source code is so great that it makes sense :)
Testament to @jedwards4b 's refactor of JobQueueCluster I guess :)
jhamman commentedon Mar 2, 2018
I have a fair bit of SGE experience, and a cluster that I could test this on apart from travis. I'd be happy to contribute the
SGECluster.I'll open a separate issue.(see #3).mrocklin commentedon Mar 2, 2018
mrocklin commentedon Mar 2, 2018
guillaumeeb commentedon Mar 4, 2018
Can non member of the org see what's happening on travis-ci for any dask repository?
Shall we fork the repository if we want to test/check the CI build?
mrocklin commentedon Mar 4, 2018
guillaumeeb commentedon Mar 4, 2018
How do you feel about using docker-hub provided images, such as https://hub.docker.com/r/pbspro/pbspro? Do we want to control the entire build cycle or not?
To go more into detail, this one depends on a build image with no Dockerfile provided (https://hub.docker.com/r/pbspro/pbsbase/), how do you feel about that too?
And lastly, I believe we want a minimaly representative test cluster, so with one master and two slaves such as what is done for dask/dask-drmaa, and not a one node master/slave cluster?
mrocklin commentedon Mar 4, 2018
jhamman commentedon Mar 27, 2018
Ran across this dockerized slurm cluster today: https://github.com/giovtorres/slurm-docker-cluster
guillaumeeb commentedon Apr 16, 2018
I propose to close this issue by opening more specific ones, e.g. one for PBS and one for SLURM. We already have basic CI with unit tests and for SGE.
Are you OK with this?
guillaumeeb commentedon Apr 20, 2018
I think this issue can be closed with ##23, #27, #41 and #42.