Environment Variables#
At expyre runtime#
EXPYRE_RETRY
: ‘n t’ number of triesn
and wait time in secondst
if subprocess run fails, default ‘3 5’EXPYRE_ROOT
: override path to root directory forconfig.json
,JobsDB
, and stage directoriesEXPYRE_RSH
: default remote shell command if not specified in system configuration, overall defaultssh
EXPYRE_SYS
: default system to start remote functions on, if not specified in call toExPyRe.start()
EXPYRE_TIMING_VERBOSE
: print trace (to stderr) with timing info to determine what operation is taking time
Available in submitted job scripts#
EXPYRE_NUM_NODES
EXPYRE_NUM_CORES
EXPYRE_NUM_CORES_PER_NODE
Only for pytest#
EXPYRE_PYTEST_SSH
: path to ssh to use (instead of/usr/bin/ssh
) in pytesttest_subprocess.py
(all higher level tests useremsh_cmd
item for system inconfig.json
EXPYRE_PYTEST_SYSTEMS
: regexp to use to filter systems from those available in$HOME/.expyre/config.json
EXPYRE_PYTEST_QUEUED_JOB_RESOURCES
: JSON or filename with JSON that defines a dict with system names as keys and arrays as values. Each array has two dicts, each with Resources kwargs so that first one is a small job that runs for a substantial amount of time, and second one is large enough that it’s guaranteed to be queued (not running) once the first has been submitted (e.g. using _all_ available nodes).