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

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

src/s/e/segway-1.1.0/segway/cluster/sge.py   segway(Download)
 
from .._util import MB
from .common import _JobTemplateFactory, make_native_spec
 
# qsub -w: switches off job validation
class JobTemplateFactory(_JobTemplateFactory):
    def make_res_req(self, mem_usage, tmp_usage):
        # tmp_usage unused on SGE
 
        # By default the stack limit is so high that there is an

src/s/e/segway-1.1.0/segway/cluster/lsf.py   segway(Download)
from .._configparser import OneSectionRawConfigParser
from .._util import ceildiv
from .common import _JobTemplateFactory, make_native_spec
 
# use SI (not binary) prefixes. I can't find any documentation for
class JobTemplateFactory(_JobTemplateFactory):
    # eliminate default overwrite behavior for DRMAA/LSF, go to append
    # which is default for DRMAA/SGE
    set_template_output_error = False