Skip to content

Commit cf4e7b4

Browse files
tomlqcquantshah
authored andcommitted
single_circuits: OMP_NUM_THREADS default '0'
1 parent 0611937 commit cf4e7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nersc/single_circuits/demo_variational.py

Lines changed: 1 addition & 1 deletion
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)