Commits

Giovanni Marco Dall'Olio committed b37f327

Add: implemented some arguments for BSUB

  • Participants
  • Parent commits 26e6a09

Comments (0)

Files changed (1)

         return repr(message)
 
 parser = argparse.ArgumentParser(description = __doc__, 
-    epilog='fake-qsub is an environment for testing Grid jobs in local')
-parser.add_argument('commandsfile', metavar='commands', type=str, help='the file containing the commands to be run')
+    epilog='fake-bsub is an environment for testing Grid jobs in local')
+#parser.add_argument('commandsfile', metavar='commands', type=str, help='the file containing the commands to be run')
 parser.add_argument('--queue', '-q', metavar='queue', type=str, help='queue', default='medium')
-parser.add_argument('--debug', '-d', action='store_true', help='show debug messages', default=False)
-parser.add_argument('-cwd', action='store_true', help='execute job from current directory', default=False)
-parser.add_argument('-v', metavar='vars', help='set up environment variables')  # STUB
-parser.add_argument('-m', metavar='mail', help='send a mail')                   # STUB
-parser.add_argument('-l', metavar='memory', help='set memory limit', default=False) # STUB
-parser.add_argument('-N', metavar='jobname', help='set job name') # STUB
-parser.add_argument('-hold_jid', metavar='hold', help='Hold/wait for another job to complete first') # STUB
+parser.add_argument('-J', metavar='jobname', help='set job name') # STUB
+parser.add_argument('-w', metavar='description', help='Job description - message to be printed when the job is finished?') # STUB
+parser.add_argument('-o', metavar='stdoutfile', help='STDOUT log file') # STUB
+parser.add_argument('-e', metavar='stderrfile', help='STDERR log file') # STUB
+
+#parser.add_argument('--fakeqsub_debug', action='store_true', help='show debug messages', default=False)
+#parser.add_argument('-cwd', action='store_true', help='execute job from current directory', default=False)
+#parser.add_argument('-v', metavar='vars', help='set up environment variables')  # STUB
+#parser.add_argument('-m', metavar='mail', help='send a mail')                   # STUB
+#parser.add_argument('-l', metavar='memory', help='set memory limit', default=False) # STUB
+#parser.add_argument('-hold_jid', metavar='hold', help='Hold/wait for another job to complete first') # STUB
 
 # Parse arguments and eventually set debug mode
 args = parser.parse_args()