예제 #1
0
def main(options):
    conf = configFromStream(open('/tmp/machine.conf'))
    runOnElements(conf, '-ss', '-ds')
    runOnElements(conf, '-sql', '-dq')
    try:
        runSingleProgramEx(conf, '${sge.root}/bin/${sge.arch}/qconf -kej ${MY_IP}', None, None)
    except ProgramRunError, err:
        errorPrint(str(err))
예제 #2
0
def main(options):
    conf = configFromStream(open('/tmp/machine.conf'))
    runOnElements(conf, '-ss', '-ds')
    runOnElements(conf, '-sql', '-dq')
    try:
        runSingleProgramEx(conf,
                           '${sge.root}/bin/${sge.arch}/qconf -kej ${MY_IP}',
                           None, None)
    except ProgramRunError, err:
        errorPrint(str(err))
예제 #3
0
def startUpFromConfigFile(fname):
    """Run startup from a config file"""
    return startUp(configFromStream(open(fname)))
예제 #4
0
파일: seedingSGE.py 프로젝트: carze/vappio
def main(options):
    conf = configFromStream('/tmp/machine.conf')
    runSystemExC(
        conf, '${sge.root}/bin/${sge.arch}/qconf -aattr queue hotlist %s %s' %
        (sys.argv[1], sys.argv[2]))
예제 #5
0
파일: seedingSGE.py 프로젝트: carze/vappio
def main(options):
    conf = configFromStream('/tmp/machine.conf')
    runSystemExC(conf, '${sge.root}/bin/${sge.arch}/qconf -aattr queue hotlist %s %s' % (sys.argv[1], sys.argv[2]))
예제 #6
0
파일: shutdown.py 프로젝트: carze/vappio
def shutdownFromConfigFile(fname):
    """Run startup from a config file"""
    return shutdown(configFromStream(open(fname)))
예제 #7
0
파일: startup.py 프로젝트: carze/vappio
def startUpFromConfigFile(fname):
    """Run startup from a config file"""
    return startUp(configFromStream(open(fname)))
예제 #8
0
파일: shutdown.py 프로젝트: carze/vappio
def shutdownFromConfigFile(fname):
    """Run startup from a config file"""
    return shutdown(configFromStream(open(fname)))