Skip to content

Cmake: issue with elpa detection for openmp builds

Right now, if OpenMP is enabled for the build, elpa_openmp is a required dependency. This should not be the case. The behavior should be as follows:

  • if we have OpenMP: try only elpa_openmp, treat it as an optional dependency
  • if we don't have OpenMP: try only elpa, treat it as an optional dependency