Example #1
0
 def __init__(self, name, drmaa_library_path = None, root = None, cell = None, sge_qmaster_port = 6444, native_specifications = ""):
     DRMAA.__init__(self, name, drmaa_library_path, native_specifications = native_specifications)
     os.environ['SGE_ROOT'] = root
     os.environ['SGE_CELL'] = cell
     if sge_qmaster_port != 6444:
         os.environ['SGE_QMASTER_PORT'] = SGE_QMASTER_PORT
Example #2
0
 def __init__(self, name, drmaa_library_path = None, server_name = None, native_specifications = ""):
     #super(TorqueDRMAA, self).__init__(name, drmaa_library_path, native_specifications = native_specifications)
     DRMAA.__init__(self, name, drmaa_library_path, native_specifications = native_specifications)
     self.contactString = server_name