Skip to content

MPI task scheduling #94

@nguu0123

Description

@nguu0123

Currently we support MPI optask through srun but we still consider this as only 1 optask like following (controller:308) but in fact it should be consider as nodes * cpus_per_rank tasks and we need to find placement for all of them

        while not stop_event.is_set():
            try:
                logger.info("main loop")
                time.sleep(self.scheduling_interval)
                self.check_running_tasks()

                resources = self.resources_available()

                queue_dict = self.queue.dict()
                task_placement = self.algorithm.next_tasks(queue_dict, resources)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions