Skip to content

Mac OSX - OpenMP - reduction #183

@lasofivec

Description

@lasofivec

After much consideration, I am opening an issue here even though it is not a tofu error but a problem of configuration between OSX, Cython an OpenMP, which leads to wrong results (tests failing) even if there is no issue in tofu and no warning/error displayed.

The first issue I found is that with homebrew's gcc-8, OpenMP reductions are not being run in parallel but repeated.
Some example can be found here:

https://stackoverflow.com/questions/54776301/cython-prange-is-repeating-not-parallelizing
https://github.com/bearnshaw/mult-cython
cython/cython#2316

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions