Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/a/z/AZOrange-HEAD/azorange/AZutilities/competitiveWorkflow.py   AZOrange(Download)
                     if not callBack((100*stepsDone)/nTotalSteps): return None    
            else:
                cmd = "qsub -cwd -q batch.q" + AZOC.SGE_QSUB_ARCH_OPTION_CURRENT + os.path.join(jobs[job]["path"],"run.sh")
                status, out = commands.getstatusoutput(cmd)
                if status:
            print "  Starting Job "+str(job)+"..."
            jobFile = os.path.join(runningJobDir,"run.sh")
            cmd = "qsub -cwd -q batch.q" + AZOC.SGE_QSUB_ARCH_OPTION_CURRENT + jobFile
            status, out = commands.getstatusoutput(cmd)
            if status:

src/a/z/AZOrange-HEAD/azorange/AZutilities/sgeUtilities.py   AZOrange(Download)
              " -N " + str(jobName) + \
              " -S /bin/sh -sync yes" + \
              AZOC.SGE_QSUB_ARCH_OPTION_CURRENT + \
              " -l mf=" + str(memSize) # specify shell /bin/sh so not to get warning: no access to tty in output file.
        else:
              " -N " + str(jobName) + \
              " -S /bin/sh -sync yes" + \
              AZOC.SGE_QSUB_ARCH_OPTION_CURRENT + \
              " -l mf=" + str(memSize) # specify shell /bin/sh so not to get warning: no access to tty in output file.
 
        self.shell = shell   
        self.range = range
        qsub = qsub + "#$ " + AZOC.SGE_QSUB_ARCH_OPTION_CURRENT + "\n"
        if range:
            qsub = qsub + "#$ -t 1-" + str(range)      + "\n"

src/a/z/AZOrange-HEAD/azorange/AZutilities/paramOptUtilities.py   AZOrange(Download)
        presentDir = os.getcwd()   
        os.chdir(self.runPath)
        command = "qsub" + " -q " + self.queueType + AZOC.SGE_QSUB_ARCH_OPTION_CURRENT + " -l mf=" + str(memSize) + "M " + " " + self.qsubFile
        if self.verbose > 1:
            print("In dir '" + os.getcwd() + "', about to run command '" + command + "'")