pbsdsh(1B)
β¨ pbsdsh(1B) β¨
okay so bestie, welcome to pbsdsh β the PBS manual page that's gonna let you scatter a task across nodes like confetti π (this is the PBS manual, section 1B, just so we're clear, iykyk)
πΈ NAME πΈ
pbsdsh β distribute task to nodes under pbs
like literally, it hands your program out to the nodes π
π¦ SYNOPSIS π¦
pbsdsh [-c copies] [-o] [-s] [-u] [-v] program [args]
pbsdsh [-n node] [-o] [-s] [-u] [-v] program [args]
pbsdsh [-h nodename] [-o] [-v] program [args]
three whole flavors, pick your fighter β¨
π DESCRIPTION π
Executes (spawns) a normal Unix program on one or more nodes under control of the Portable Batch System, PBS. periodt. π«Ά
pbsdsh uses the Task Manager API, see tm_spawn(3), to distribute the program on the allocated nodes. the way it just... delegates. main character energy honestly π
When run without the -c or the -n option, pbsdsh will spawn the program on all nodes allocated to the PBS job. and the spawns take place concurrently β all execute at (about) the same time. no cap, they're all going at once π₯
Users will find the PBS_TASKNUM, PBS_NODENUM, and the PBS_VNODENUM environmental variables useful. They contain the TM task id, the node identifier, and the cpu (virtual node) identifier. like little name tags for each spawn, obsessed π·οΈβ¨
π OPTIONS π
-ccopies β The program is spawned on the first Copies nodes allocated. This option is mutual exclusive with-n. (yes bestie, you can't have both, pick one π)-nnode β The program is spawned on one node which is the node-th node allocted. This option is mutual exclusive with-c.-hhostname β The program is spawned on the node specified.-oβ Capture stdout of the spawned program. Normally stdout goes to the job's output. (lowkey useful when you're nosy about what the spawn is saying π)-sβ If this option is given, the program is run in turn on each node, one after the other. no concurrency, we're taking turns like civilized people π§-uβ The program is run once on each node (unique). This ignores the number of allocated processers on a given node. one and done π-vβ Verbose output about error conditions and task exit status is produced. she's chatty and we love her π£οΈπ
ngl, note that-cand-nare mutually exclusive β the manpage says "mutual exclusive" and honestly same vibe, they cannot coexist π«
π OPERANDS π
The first operand, program, is the program to execute. like, the whole point bestie π―
Additional operands, args, are passed as arguments to the program. everything else just tags along for the ride πβ¨
π STANDARD ERROR π
The pbsdsh command will write a diagnostic message to standard error for each error occurrence. so if something goes wrong, she will tell you about it, loudly, in stderr ππ’
β EXIT STATUS β
Upon successful processing of all the operands presented to the command, the exit status will be a value of zero. slay π
If the pbsdsh command fails to process any operand, or fails to contact the MOM daemon on the localhost, the command exits with a value greater than zero. not slay. red flag π© (fr fr, if you see that, go check on your MOM daemon)
π SEE ALSO π
qsub(1B)tm_spawn(3B)
go read those next, i believe in you π«Άπ
and that's the whole page bestie!! she's pbsdsh(1B), from the PBS corner of the world, marked Local at the bottom β this little pbsdsh(1B) icon is signing off πβ¨ π go distribute some tasks, you've got this π
π¦ where this page comes from
- epel 9: torque-client 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- nixos 26.05: torque 6.1.3h2
- nixpkgs unstable: torque 6.1.3h2
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms