SMART-Lab / smartdispatch

An easy to use job launcher for supercomputers with PBS compatible job manager.
Do What The F*ck You Want To Public License
34 stars 18 forks source link

Some test failures are not caught by nosetests #154

Closed ddtm closed 7 years ago

ddtm commented 7 years ago

For instance,

test_main_launch_with_cores_command (test_smart_dispatch.TestSmartdispatcher) ... WARNING:root:Cluster does not support flock! Falling back to folder lock.
usage: smart-dispatch [-h] -q QUEUENAME [-t WALLTIME] [-L {qsub,msub}]
                      [-C CORESPERNODE] [-G GPUSPERNODE] [-M MEMPERNODE]
                      [-c CORESPERCOMMAND] [-g GPUSPERCOMMAND]
                      [-m MEMPERCOMMAND] [-f COMMANDSFILE]
                      [-l MODULES [MODULES ...]] [-x] [-p POOL]
                      [--pbsFlags PBSFLAGS]
                      {launch,resume} ...
smart-dispatch: error: coresPerNode must be at least 1
WARNING:root:Cluster does not support flock! Falling back to folder lock.
smart-dispatch: error: coresPerCommand exceeds nodes total: asked 100 cores, nodes have 1
ok
ddtm commented 7 years ago

Whoopsies, apparently, it's the intended behaviour.