https://bugzilla.redhat.com/show_bug.cgi?id=2510919



--- Comment #21 from UW_Linux <[email protected]> ---
Thank you, I will investigate them.

> Are there scenarios where you want non-openmp version? Ideally both the 
> openmp and mpi parallelization are configurable by the consumer or even the 
> user. Can you check if at least the openmp one is/can be configurable?

The OpenMP configuration is enabled via `--enable-openmp` in configuration
status and leads to `elpa_openmp` libraries and pkg-config files. Downstream
can use `pkg_search_module(ELPA REQUIRED IMPORTED_TARGET GLOBAL elpa_openmp)`
or `pkg_search_module(ELPA REQUIRED IMPORTED_TARGET GLOBAL elpa)` to choose
what configuration they prefer. IIRC from
https://gitlab.com/QEF/q-e/-/merge_requests/2890#note_3550770203 there might be
the case that using `elpa_openmp` with non-OpenMP downstream configuration
causes linker error, but I didn't try it myself as I always enable OpenMP.

> BTW, years ago when I was in contact with them, they were open to migrate the 
> build system to CMake. Would definitely help with a lot of complications that 
> I can see from a mile away, but the m4 macros are daunting.

I was trying one https://github.com/marekandreas/elpa/pull/73, which is
incomplete yet and has been shelved for a while. There's also another attempt
by another people in https://github.com/marekandreas/elpa/pull/71, but that one
looks unclear to me. Unfortunately, from part of the discussion in
https://github.com/marekandreas/elpa/pull/71#issuecomment-4727034181 and
https://github.com/marekandreas/elpa/pull/71#issuecomment-4727705217 I don't
see they are in favor of CMake.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2510919

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202510919%23c21

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to