| pbsdsh - distribute task to nodes under pbs |
|
pbsdsh [-c copies] [-s] [-v] program [args] pbsdsh [-n node] [-s] [-v] program [args] |
| Executes (spawns) a normal Unix program on one or more nodes under control of the Portable Batch System, PBS. Pbsdsh uses the Task Manager API, see tm_spawn(3), to distribute the program on the allocated nodes. |
| When run without the -c or the -n option, pbsdsh will spawn the program on all nodes allocated to the PBS job. The spawns take place concurrently - all execute at (about) the same time. |
| -c copies |
| The program is spawned on the first Copies nodes allocated. This option is mutual exclusive with -n. |
| -n node |
| The program is spawned on one node which is the node-th node allocted. This option is mutual exclusive with -c. |
| -s |
| If this option is given, the program is run in turn on each node, one after the other. |
| -v |
| Verbose output about error conditions and task exit status is produced. |
| The first operand, program, is the program to excute. |
| Additional operands, args, are passed as arguments to the program. |
| The pbsdsh command will write a diagnostic message to standard error for each error occurrence. |
| Upon successful processing of all the operands presented to the |
| qsub(1B) , tm_spawn(3B) |