Skip to content

Commit 4bbbc17

Browse files
committed
single_circuits: OMP_NUM_THREADS default '0'
1 parent e67dd76 commit 4bbbc17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nersc/single_circuits/demo_variational.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def run_grad(weights, x):
184184
stdout=subprocess.DEVNULL,
185185
stderr=subprocess.STDOUT)
186186

187-
n_threads = os.getenv('OMP_NUM_THREADS', '-')
187+
n_threads = os.getenv('OMP_NUM_THREADS', '0')
188188

189189
tokens = [
190190
args.device,

0 commit comments

Comments
 (0)