package pardi
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=a340c038bdbf3bec1000966b7e55442e98f43272fcc69f343cc61dbb1f9a1da0
md5=0fc687f48a2a34973d414994618dea19
Description
Almost like GNU parallel; just better.
Pardi pushes further the point at which you have to use a supercomputer. Alternatively, it can be used on a supercomputer to make life in there much more fun and productive.
Put back the fun into computing: use pardi!
usage: pardi ... {-i|--input} : where to read from {-o|--output} : where to write to (default=stdout) [-s|--shell]: only shell commands in input file [{-n|--nprocs} ]: max jobs in parallel (default=all cores) [{-c|--chunks} ]: how many chunks per job (default=1) [{-d|--demux} {l|b:|r:|s:}]: how to cut input file into chunks (line/bytes/regexp/sep_line; default=line) {-w|--work} : command to execute on each chunk %IN and %OUT are special tokens [{-m|--mux} {c|n}]: how to mux job results in output file (cat/null; default=cat) [{-ie|--input-ext} ]: append file extension to work input files [{-oe|--output-ext} ]: append file extension to work output files [{-p|--preserve}]: mux results while preserving input order
Added to opam-repository:
README
ParDi
Parallel and Distributed execution of command lines, pardi !
Example
Compress a file in parallel using 1MB chunks:
pardi -d b:1048576 -p -i <YOUR_BIG_FILE> -o <YOUR_BIG_FILE>.xz -w 'xz -c -9 %IN > %OUT'Standardize molecules in parallel:
pip3 install chemo-standardizer
pardi -i input.smi -o output_std.smi -c 400 -d l -ie '.smi' -oe '.smi' \
-w 'standardiser -i %IN -o %OUT 2>/dev/null'Install
For beginners or non opam users: download and execute the latest self-installer shell script from (https://github.com/UnixJunkie/pardi/releases).
Then, execute:
./pardi-2.0.1.sh ~/usr/pardi-2.0.1This will create ~/usr/pardi-2.0.1/bin/pardi.
For opam users:
opam install pardiDo not hesitate to contact the author in case of troubles or if you have any question.
Dependencies (6)
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building pardi with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 3.2.2 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure