Fix issue with function nproc

The function nproc() uses os.sched_getaffinity(), which is not available on every OS. It now uses multiprocessing.cpu_count() as fall-back.

Closes RAP-822

Merge request reports

Loading