Overview

The two main entrypoints are redun_psij.run_job_1() for running a job which is expected to produce a single file whose path is known in advance (example run_job_1 usage), and redun_psij.run_job_n() for a job which may produce several files, or files which may be matched after-the-event by globbing (example run_job_n usage).

Job specs are defined in Jsonnet as per this example. The colon-separated environment variable PSIJ_EXECUTOR_CONFIG_PATH is the search path for Jsonnet files, the root configuration being defined in psij-executor.jsonnet. The job_attributes field is a PSI/J JobAttributes instance.