Skip to content

Issue310 : fix non universal os.sched_getaffinity()

Jerome Lesaint requested to merge issue310 into master

About

Fix issue 310 by using

n_threads = int(os.environ.get("SLURM_CPUS_PER_TASK", os.cpu_count()))

whenever os.sched_getaffinity() does not work.

Close #310 (closed)

To do

  • Implement feature (class and docstring)
  • Unit tests
  • Integrate in pipeline
  • End-to-end reconstruction test

Notes

Edited by Pierre Paleo

Merge request reports

Loading