quecon
provides an interface to submit massive number of independent Monte-Carlo calculations to job schedulers.
This is originally desigined for event-by-event simulations of high-energy nuclear collisions which typically include thousands and millions of independent events.
Named after job-queue controller.
quecon SUBCMD ...
quecon [stat] [OPTIONS...]
quecon [stat] JOB_INDEX [TYPE] [OPTIONS...]
log
(default)out
,tail
ls
sub.sh
,cmd.sh
,job*.sh
,stat*.sh
quecon submit [-ct | -r RANGE] COMMAND
-
--system JOB_SYSTEM
Select a underlying job system. One of
slurm
ordirect
. -
-c, --copy
Copy the command file to protect against possible changes to the file after submission. This is useful when one wants to edit the submitted script after the submission.
-
-C, --copy-binary=BIN
Copy the binary found in
PATH
to the job local directory and prepend the directory toPATH
. -
-t, --create-tmpdir
Use temporary directory
QUECON_TMPDIR
. The directory will be deleted on the job completion. -
-r, --repeat=[REP=][BEGIN:]END[/NNODE[xNCORE]]
Repeat commands for
QUECON_INDEX
in[BEGIN, END)
usingNNODExNCORE
parallel jobs. The default value forBEGIN
is 0. The default value forNPROC
is 1. WhenREP
is specified, the matching string inCOMMAND
is replaced by the value ofQUECON_INDEX
.