2
2
#! /usr/bin/env bash
3
3
set -eu
4
4
5
- # CORI WORKFLOW
6
- # Main entry point for P1B3 mlrMBO workflow
7
-
8
5
# Autodetect this workflow directory
9
6
export EMEWS_PROJECT_ROOT=$( cd $( dirname $0 ) /.. ; /bin/pwd )
10
7
11
8
# USER SETTINGS START
12
9
13
10
# See README.md for more information
14
11
15
- # The directory in the Benchmarks repo containing P1B3
16
- BENCHMARK_DIR=" $EMEWS_PROJECT_ROOT /../../../Benchmarks/Pilot1/NT3"
12
+ # The directory in the Benchmarks repo containing NT3
13
+ BENCHMARK_DIR=" $EMEWS_PROJECT_ROOT /../../../Benchmarks/common"
14
+ BENCHMARK_DIR=" $BENCHMARK_DIR :$EMEWS_PROJECT_ROOT /../../../Benchmarks/Pilot1/NT3"
17
15
18
16
# The number of MPI processes
19
17
# Note that 2 processes are reserved for Swift/EMEMS
@@ -28,12 +26,15 @@ export PPN=${PPN:-1}
28
26
export QUEUE=${QUEUE:- debug}
29
27
export WALLTIME=${WALLTIME:- 00: 30: 00}
30
28
29
+ # Benchmark run timeout: benchmark run will timeouT
30
+ # after the specified number of seconds. -1 is no timeout.
31
+ BENCHMARK_TIMEOUT=${BENCHMARK_TIMEOUT:- 3600}
32
+
31
33
# set machine to your scheduler type (e.g. pbs, slurm, cobalt etc.),
32
34
# or empty for an immediate non-queued unscheduled run
33
35
MACHINE=" "
34
36
35
37
# mlrMBO settings
36
- # How many to runs evaluate per iteration
37
38
MAX_BUDGET=${MAX_BUDGET:- 110}
38
39
# Total iterations
39
40
MAX_ITERATIONS=${MAX_ITERATIONS:- 4}
@@ -81,7 +82,8 @@ export RESIDENT_WORK_RANKS=$(( PROCS - 2 ))
81
82
EQR=$EMEWS_PROJECT_ROOT /ext/EQ-R
82
83
83
84
CMD_LINE_ARGS=" $* -pp=$PROPOSE_POINTS -mi=$MAX_ITERATIONS -mb=$MAX_BUDGET -ds=$DESIGN_SIZE "
84
- CMD_LINE_ARGS+=" -param_set_file=$PARAM_SET_FILE -model_name=$MODEL_NAME -script_file=$SCRIPT_FILE -exp_id=$EXPID "
85
+ CMD_LINE_ARGS+=" -param_set_file=$PARAM_SET_FILE -model_name=$MODEL_NAME -exp_id=$EXPID "
86
+ CMD_LINE_ARGS+=" -benchmark_timeout=$BENCHMARK_TIMEOUT "
85
87
86
88
if [ -n " $MACHINE " ]; then
87
89
MACHINE=" -m $MACHINE "
0 commit comments