We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc8ce5 commit 1779a4fCopy full SHA for 1779a4f
scripts/smart-dispatch
@@ -229,7 +229,7 @@ def parse_arguments():
229
parser.error("Unknown queue, --coresPerNode/--gpusPerNode and --walltime must be set.")
230
if args.coresPerCommand < 1:
231
parser.error("coresPerCommand must be at least 1")
232
- if args.memPerCommand is not None and args.memPerCommand < 0:
+ if args.memPerCommand is not None and args.memPerCommand <= 0:
233
parser.error("memPerCommand must be positive")
234
235
return args
0 commit comments