You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Launch and manage DAQ processes with slurm. 

Migrate .cnf to .py

Psbatch takes process configurations in Python format. You can convert any cnf file to .py file with cnf2py command:

cnf2py tmo_sc.cnf tmo_sc.py


Subcommands and input arguments

(ps-4.6.3) psbatch --help
                                                                                                                                     
 Usage: psbatch [OPTIONS] SUBCOMMAND CNF_FILE [UNIQUE_IDS]                                                                           
                                                                                                                                     
╭─ Arguments ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    subcommand      TEXT          Available options: [start, stop, restart, status] [default: None] [required]                   │
│ *    cnf_file        TEXT          Configuration file with .py extension. [default: None] [required]                              │
│      unique_ids      [UNIQUE_IDS]  A comma separated string containing selected processes (e.g. timing0,teb0). [default: None]    │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --as-step        --no-as-step          Submit DAQ processes as slurm job steps. [default: no-as-step]                             │
│ --interactive    --no-interactive      [default: no-interactive]                                                                  │
│ --verbose        --no-verbose          [default: no-verbose]                                                                      │
│ --help                                 Show this message and exit.                                                                │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
  • No labels