def __init__(self, pe, provided_inputs=None): GenericWrapper.__init__(self, pe) self.pe.log = types.MethodType(simpleLogger, pe) self.pe.rank = rank self.provided_inputs = provided_inputs self.terminated = 0 self.input_data = Queue.Queue()
def __init__(self, rank, pe, provided_inputs=None, profiles=None, workflow_submission_id=None): GenericWrapper.__init__(self, pe, workflow_id=workflow_submission_id) self.pe.log = types.MethodType(simpleLogger, pe) self.pe.rank = rank self.provided_inputs = provided_inputs self.terminated = 0 self.profiles = profiles if profiles is not None else {} self.workflow_submission_id = workflow_submission_id
def __init__(self, pe, provided_inputs=None): GenericWrapper.__init__(self, pe) self.pe.log = types.MethodType(simpleLogger, pe) self.provided_inputs = provided_inputs self.outputs = {}