Commit 1ea92aa2 by Ned Batchelder

Prevent OpenBLAS from spawning worker threads. TNL-6456

The RLIMIT_NPROC limit is per-user so simultaneous student submissions
pile up and overflow the limit.  Setting this environment variable will
prevent spawning any threads (the 1 means only have one threads, the
already existing main thread).
parent 4e464ec6
......@@ -14,6 +14,9 @@ import hashlib
CODE_PROLOG = """\
from __future__ import division
import os
os.environ["OPENBLAS_NUM_THREADS"] = "1" # See TNL-6456
import random as random_module
import sys
random = random_module.Random(%r)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment