def get_req_procs(self):
        min_procs = 1
        max_procs = 1

        for sub in itervalues(self._subsystems):
            sub_min, sub_max = sub.get_req_procs()
            min_procs = max(min_procs, sub_min)
            if max_procs is not None:
                if sub_max is None:
                    max_procs = None
                else:
                    max_procs = max(max_procs, sub_max)

        return (min_procs, max_procs)
Returns
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/group.py/Group.get_req_procs