Thread 'Tell BOINC how many CPUs are required for a CPU task'

Message boards : Technical Support : Tell BOINC how many CPUs are required for a CPU task
Message board moderation

To post messages, you must log in.

AuthorMessage
deleted_80

Send message
Joined: 5 Feb 26
Posts: 11
Credit: 0
RAC: 0
Message 297 - Posted: 13 Mar 2026, 10:47:05 UTC

[account deleted]
ID: 297 · 0      Reply Quote
PyHelix
Volunteer moderator
Project administrator

Send message
Joined: 23 Jan 26
Posts: 87
Credit: 562,808
RAC: 7,469
Message 301 - Posted: 13 Mar 2026, 21:21:43 UTC - in response to Message 297.  

You were right — some of our experiment scripts were triggering multi-threaded BLAS operations (numpy's internal linear algebra routines like eigenvalue decomposition), which would spawn extra threads even though each task was declared as 1 CPU to BOINC.

We identified the root cause and deployed a fix in v6.34 (all platforms, released today). The binary now forces OMP_NUM_THREADS=1, MKL_NUM_THREADS=1, and OPENBLAS_NUM_THREADS=1 at startup, so numpy's BLAS layer is locked to a single thread per task. We've confirmed on a test machine with 80 cores that every running task shows exactly 1 thread.

BOINC's CPU accounting should now be accurate — each task truly uses 1 CPU, so the scheduler can correctly calculate concurrent task slots based on your CPU usage preferences.
ID: 301 · 0      Reply Quote

Message boards : Technical Support : Tell BOINC how many CPUs are required for a CPU task
Network Statistics
Powered byBOINC
© 2026 Axiom Project 2026