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

[bugfix] make environment variable a str

parent 78f2974e
No related branches found
No related tags found
No related merge requests found
# Disallow numpy to use multithreading - it breaks parallel code generation # Disallow numpy to use multithreading - it breaks parallel code generation
# on machines with large core count. # on machines with large core count.
import os import os
os.environ["OMP_NUM_THREADS"] = 1 os.environ["OMP_NUM_THREADS"] = "1"
# Trigger imports that involve monkey patching! # Trigger imports that involve monkey patching!
import dune.perftool.loopy.symbolic 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