jupyterhub / batchspawner

Custom Spawner for Jupyterhub to start servers in batch scheduled systems
BSD 3-Clause "New" or "Revised" License
190 stars 134 forks source link

LSF jobs with multiple slots display each hostname ':' separated #229

Closed jbeal-work closed 2 years ago

jbeal-work commented 2 years ago

Bug description

I believe old LSF implementations used space node names where a job was submitted to multiple machines. bjobs now returns a host multiple times, seperated by a ':' if more than one slot is used on a node. This means the state_gethost no longer works on LSF when using more than one cpu. Expected behaviour

Using more than one slot should work. Actual behaviour

Using more than one slot does not work. How to reproduce

Have an LSF 10.1 cluster and try and use LSF with more than one slot. Your personal set up

LSF 10.1 on ubuntu 18.04

https://github.com/jupyterhub/batchspawner/issues/228

welcome[bot] commented 2 years ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly. welcome You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

manics commented 2 years ago

Closed/opened to retrigger the (hopefully fixed!) CI

welcome[bot] commented 2 years ago

Congrats on your first merged pull request in this project! :tada: congrats Thank you for contributing, we are very proud of you! :heart: