desihub / specex

DESI spectrograph PSF fitting
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

support compilation with openmp #51

Closed marcelo-alvarez closed 3 years ago

marcelo-alvarez commented 3 years ago

Purpose: Compile specex with OpenMP.

Description: Fix bugs in CMakeLists.txt to allow automatic selection of correct compiler flag(s) to compile with OpenMP support. matches the behaviour (to floating point precision in output psf fit) of specex 0.6.8 with similar performance and scaling with number of OpenMP threads.

Pleaes approve and merge.