Skip to content
Snippets Groups Projects
Commit 78f2974e authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Do not allow OpenBLAS/numpy to run multithreaded

parent a978cf9e
No related branches found
No related tags found
No related merge requests found
# Disallow numpy to use multithreading - it breaks parallel code generation
# on machines with large core count.
import os
os.environ["OMP_NUM_THREADS"] = 1
# Trigger imports that involve monkey patching!
import dune.perftool.loopy.symbolic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment