Multicore computing

Multicore computing

Multicore computing – Pyhrf can make computation on several cores using the joblib python package. Joblib is an optional dependency of pyhrf so if you plan to use multiprocessing computation you need to install it (refer to the installation page)

Configuration

Multicore computing

You can configure the number of used cores by setting the nb_procs option in the pyhrf configuration file. If you want to auto-detect the number of processors and cores that the system can use, set this option to 0.

Use

Multicore computing

When calling the pyhrf_jde_vem_analysis script, the multiprocessing mode is active by default. If you want to disable it use --no-parallel command line option.