parameters: (self)
docstring: Receive instructions from scheduler and run tasks
docstring_summary: Receive instructions from scheduler and run tasks
docstring_tokens: Receive instructions from scheduler and run tasks
function: def run(self):
          """ Receive instructions from scheduler and run tasks
          """
          while True:
              instruction = self.sock.recv()
              mesg = 'worker %s accept instruction: %s' %(self.rank, instruction)
              logging.debug(mesg)
              self.run_instruction(instruction)
function_tokens: def run ( self ) : while True : instruction = self . sock . recv ( ) mesg = 'worker %s accept instruction: %s' % ( self . rank , instruction ) logging . debug ( mesg ) self . run_instruction ( instruction )