Settings#
Legate has a number of runtime settings that can be configured through environment variables.
limit_stdout#
- Type:
bool (“0” or “1”)
- Env var:
LEGATE_LIMIT_STDOUT- Default:
False (test-mode default: False)
Whether to limit stdout output to only the first rank.
This is a read-only environment variable setting used by the runtime.
benchmark_out#
- Type:
str
- Env var:
LEGATE_BENCHMARK_OUT- Default:
‘stdout’ (test-mode default: ‘stdout’)
Where benchmark_log() records
should go if no file is given.
If this is 'stdout', logs will go to sys.stdout; otherwise
this will be interpreted as a directory where log files will be
created. Each rank will save its records in a file with the name
'{benchmark_name}_{uid}.{node_id}.csv'.
This is a read-only environment variable setting used by the runtime.
The legate launcher has a command-line option
--benchmark-to-file, which is equivalent to setting
LEGATE_BENCHMARK_OUT to the directory specified by
--logdir.
benchmark_use_rich#
- Type:
bool (“0” or “1”)
- Env var:
LEGATE_BENCHMARK_USE_RICH- Default:
True (test-mode default: False)
Whether benchmark_log() should use
rich when the output stream is a
tty.
This is a read-only environment variable setting used by the runtime.