def validate(self, comm):
     base_Script.validate(self)
     if (self.params.rescale_with_average_cell):
         raise Usage("""Rescaling_with_average_cell not supported with MPI
   (Would require a second round of scaling, inefficient).""")
     if (self.params.mpi.cs == True and comm.Get_size() <= 1):
         raise Usage(
             "Client-server algorithm requires a minimum size of 2 MPI ranks to process data. Currently size=%d"
             % comm.Get_size())
 def validate(self):
     base_Script.validate(self)
     if (self.params.rescale_with_average_cell):
         raise Usage("""Rescaling_with_average_cell not supported with MPI
   (Would require a second round of scaling, inefficient).""")