#!/usr/bin/env python import os import sys import pylauncher cmdLineFile = sys.argv[1] numCoresPerCmd = 4 if len(sys.argv) == 3: numCoresPerCmd = int(sys.argv[2]) pylauncher.ClassicLauncher(cmdLineFile, cores=numCoresPerCmd) sys.exit()
#!/usr/bin/env python import pylauncher ## ## Emulate the classic launcher, using a one liner ## pylauncher.ClassicLauncher("sleep60", debug="job+host+task")
import pylauncher pylauncher.ClassicLauncher("db_command_lines",debug="job",delay=2)
#!/usr/bin/env python import pylauncher import sys task = sys.argv[1] np = sys.argv[2] ## ## Emulate the classic launcher, using a one liner ## pylauncher.ClassicLauncher(task, debug="job+task+host+exec+command", cores=np)
#!/usr/bin/env python import pylauncher ## ## test our ssh routines ## pylauncher.ClassicLauncher("modcommandlines", debug="job+host+task+exec+ssh") #pylauncher.ClassicLauncher("commandlines")
import pylauncher pylauncher.ClassicLauncher("random_command_lines")
#!/usr/bin/env python import pylauncher ## ## Emulate the classic launcher, using a one liner ## #pylauncher.ClassicLauncher("corecommandlines",debug="job+host+task") pylauncher.ClassicLauncher("commandlines", debug="job")