def scale_out(self, blocks=<NUM_LIT:1>):
r = []<EOL>for i in range(blocks):<EOL><INDENT>if self.provider:<EOL><INDENT>block = self.provider.submit(<EOL>self.launch_cmd, <NUM_LIT:1>, self.workers_per_node)<EOL>logger.debug("<STR_LIT>".format(i, block))<EOL>if not block:<EOL><INDENT>raise(ScalingFailed(self.provider.label,<EOL>"<STR_LIT>"))<EOL><DEDENT>self.blocks.extend([block])<EOL><DEDENT>else:<EOL><INDENT>logger.error("<STR_LIT>")<EOL>r = None<EOL><DEDENT><DEDENT>return r<EOL>
Scales out the number of active workers by the number of blocks specified.

        Parameters
        ----------

        blocks : int
             # of blocks to scale out. Default=1

        Raises:
             NotImplementedError