cacao-org / cacao

Compute And Control for Adaptive Optics
GNU General Public License v3.0
24 stars 9 forks source link

cacao running single thread #8

Closed oguyon closed 5 years ago

oguyon commented 6 years ago

DESCRIPTION

On some system, cacao will use only one core. On a multi-core system, cacao sometimes comes up with:

Cpus_allowed_list: 0 Running with openMP, max threads = 1 (OMP_NUM_THREADS)

instead of

Cpus_allowed_list: 0-7 Running with openMP, max threads = 8 (OMP_NUM_THREADS)

On some systems, the behavior is random: it comes and goes (why ?)

WORKAROUND

I found out that you can move the process into a cpuset with multiple cores and it will then always deploy on all cores within the cpuset.

Please post in this issue if you encounter this behavior to help us understand the cause.

oguyon commented 5 years ago

I haven't seen this issue for a while, and have not been informed of anyone experiencing it. cacao has been installed on several new systems lately, and this issue does not come up. ... so I am closing it