smartdispatch icon indicating copy to clipboard operation
smartdispatch copied to clipboard

Does not support IBM LSF scheduler?

Open ieee8023 opened this issue 7 years ago • 1 comments

I get this error on a cluster with the IBM LSF scheduler (http://wiki.umassrc.org/wiki/index.php/Main_Page)

$ smart-dispatch 
WARNING:root:Cluster does not support flock! Falling back to folder lock.
qstat: illegal option -- B
Usage: qstat [-l] [-m] [-x] [-a] [-u user-name] [queue-name ...]
Traceback (most recent call last):
  File ".local/bin/smart-dispatch", line 23, in <module>
    CLUSTER_NAME = utils.detect_cluster()
  File "/home/jc93b/.local/lib/python2.7/site-packages/smartdispatch/utils.py", line 120, in detect_cluster
    server_name = output.split('\n')[2].split(' ')[0]
IndexError: list index out of range

ieee8023 avatar Apr 21 '17 16:04 ieee8023

It only supports PBS based clusters, but it should not be that hard to extend it.

On Fri, Apr 21, 2017 at 12:09 PM, Joseph Paul Cohen < [email protected]> wrote:

I get this error on a cluster with the IBM LSF scheduler ( http://wiki.umassrc.org/wiki/index.php/Main_Page)

$ smart-dispatch WARNING:root:Cluster does not support flock! Falling back to folder lock. qstat: illegal option -- B Usage: qstat [-l] [-m] [-x] [-a] [-u user-name] [queue-name ...] Traceback (most recent call last): File ".local/bin/smart-dispatch", line 23, in CLUSTER_NAME = utils.detect_cluster() File "/home/jc93b/.local/lib/python2.7/site-packages/smartdispatch/utils.py", line 120, in detect_cluster server_name = output.split('\n')[2].split(' ')[0] IndexError: list index out of range

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SMART-Lab/smartdispatch/issues/163, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBvmx3haweX3Dz9ytuB0yFVqUfGjxZ1ks5ryNTWgaJpZM4NEf4H .

mgermain avatar May 12 '17 18:05 mgermain