Exemplo n.º 1
0
#!/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()
Exemplo n.º 2
0
#!/usr/bin/env python

import pylauncher

##
## Emulate the classic launcher, using a one liner
##

pylauncher.ClassicLauncher("sleep60", debug="job+host+task")
Exemplo n.º 3
0
import pylauncher

pylauncher.ClassicLauncher("db_command_lines",debug="job",delay=2)
Exemplo n.º 4
0
#!/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)

Exemplo n.º 5
0
#!/usr/bin/env python

import pylauncher

##
## test our ssh routines
##

pylauncher.ClassicLauncher("modcommandlines", debug="job+host+task+exec+ssh")
#pylauncher.ClassicLauncher("commandlines")
Exemplo n.º 6
0
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")