Skip to content

Mpi scheduler improvements (resolves issue #4)

Jordi Inglada requested to merge mpi_scheduler into mpi_scheduler

A few improvements of the MPI scheduler:

  • Workers are started once with start_workers() at the beggining and stopped once with stop_workers() at the end
  • Workers never leave the start_workers() function, so any instruction after this call is guarenteed to be executed by master process only
  • Master waits for all workers to start before leaving start_workers()
  • Any value returned by the mapped function is put in a list returned by mpi_schedule_job_array()

This merge request implements issue #4 (closed) .

Merge request reports