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

modern LSF implementations change multiple cpu output in bjobs #228

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

I have a tiny patch to fix this. And I will reference this issue.

welcome[bot] commented 2 years ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada: