From 3a23ef8efc8a1eba06af5a89f4950f7cf8888ec4 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Devenyi" Date: Tue, 29 Mar 2016 17:49:55 -0400 Subject: [PATCH] Fix assignemnt of array ID variable --- bin/qbatch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/qbatch b/bin/qbatch index a797f34..e30b912 100755 --- a/bin/qbatch +++ b/bin/qbatch @@ -72,7 +72,7 @@ LSF_HEADER_TEMPLATE = """ #BSUB {o_options} {env} {header_commands} -ARRAY_IND=LSB_JOBINDEX +ARRAY_IND=$LSB_JOBINDEX """.strip() @@ -285,8 +285,8 @@ if __name__ == "__main__": group.add_argument( "-b", default=SYSTEM, choices=['pbs', 'sge', 'lsf', 'local'], help="""The type of queueing system to use. 'pbs' and 'sge' both make - calls to qsub to submit jobs. 'local' runs the entire command list - (without chunking) locally.""") + calls to qsub to submit jobs. 'lsf' makes calls to bsub. 'local' runs + the entire command list (without chunking) locally.""") group.add_argument( "--no-env", action="store_true", help="""Do not copy the current environment into the job script(s)""")