MRtrix3 / mrtrix3

MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
http://www.mrtrix.org
Mozilla Public License 2.0
294 stars 181 forks source link

Add support for OpenMP and disabling parallelisation for Eigen #2949

Open daljit46 opened 3 months ago

daljit46 commented 3 months ago

The Python configure script had support for enabling the use of OpenMP to enable multithreading in Eigen. If support for OpenMP was disabled, the project was built with EIGEN_DONT_PARALLELIZE (see here). This functionality hasn't been ported to the CMake scripts, we should probably add a new option MRTRIX_USE_OPENMP to address this.