File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export PROCS=${PROCS:-320}
23
23
# Cori has 32 cores per node, 128GB per node
24
24
export PPN=${PPN:- 1}
25
25
26
- export QUEUE=" default"
26
+ export QUEUE=${QUEUE :- default}
27
27
export WALLTIME=${WALLTIME:- 05: 00: 00}
28
28
29
29
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export PROCS=${PROCS:-10}
24
24
export PPN=${PPN:- 1}
25
25
26
26
27
- export QUEUE=" default"
27
+ export QUEUE=${QUEUE :- default}
28
28
export WALLTIME=${WALLTIME:- 02: 00: 00}
29
29
30
30
# mlrMBO settings
Original file line number Diff line number Diff line change @@ -21,13 +21,14 @@ string exp_id = argv("exp_id");
21
21
22
22
string code_template =
23
23
"""
24
+ import os
25
+ outdir = '%s'
26
+ os.environ['THEANO_FLAGS']= " base_compiledir={} " .format(outdir)
27
+
24
28
import p2b1_runner
25
- import json, os
29
+ import json
26
30
import theano
27
31
28
- outdir = '%s'
29
- theano.config.base_compiledir = outdir
30
-
31
32
if not os.path.exists(outdir):
32
33
os.makedirs(outdir)
33
34
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export PROCS=${PROCS:-10}
23
23
export PPN=${PPN:- 1}
24
24
25
25
26
- export QUEUE=" default"
26
+ export QUEUE=${QUEUE :- default}
27
27
export WALLTIME=${WALLTIME:- 02: 00: 00}
28
28
29
29
# mlrMBO settings
You can’t perform that action at this time.
0 commit comments