torque_submit_workers(1)

πŸ“¦
version 9.9 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– torque_submit_workers β€” the girlies' guide πŸ’–

okay so bestie, this is torque_submit_workers(1) from the Cooperative Computing Tools collection, and it is exactly the little helper you need when you want a whole squad of workers to show up to the Torque cluster party. ✨


🌸 NAME 🌸

torque_submit_workers β€” submit work_queue_worker to a Torque cluster. that's it, that's the vibe. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

torque_submit_workers [options] <servername> <port> <num-workers>

✨ DESCRIPTION ✨

so what this icon actually does: torque_submit_workers schedules the execution of work_queue_worker(1) on the Torque batch system, sliding in through its job submission interface, qsub. slay. πŸ’…

how many workers get scheduled and run? that's literally the num-workers argument. that's its whole job. no cap.

the servername and port arguments specify the hostname and port number of the manager that work_queue_worker should connect to. πŸ”Œ

real talk though β€” those two arguments become optional when the auto mode option is specified for work_queue_worker. so if you're going auto, you can just… not. bestie behavior fr fr. πŸ™ˆ

πŸ’… OPTIONS πŸ’…

  • -M β€” Name of the preferred manager for worker. πŸ‘‘
  • -N <name> β€” Preferred project name for work_queue_worker to connect.
  • -c <cores> β€” Set the number of cores each worker should use (0=auto). (default=1)
  • -C <catalog> β€” Set catalog server for work_queue_worker to <catalog>. <catalog> format: HOSTNAME:PORT.
  • -t <seconds> β€” Abort work_queue_worker after this amount of idle time (default=900s).
  • -d <subsystem> β€” Enable debugging on worker for this subsystem (try -d all to start).
  • -w <size> β€” Set TCP window size
  • -i <time> β€” Set initial value for backoff interval when worker fails to connect to a manager. (default=1s)
  • -b <time> β€” Set maxmimum value for backoff interval when worker fails to connect to a manager. (default=60s)
  • -z <size> β€” Set available disk space threshold (in MB). When exceeded worker will clean up and reconnect. (default=100MB)
  • -A <arch> β€” Set architecture string for the worker to report to manager instead of the value in uname.
  • -O <os> β€” Set operating system string for the worker to report to manager instead of the value in uname.
  • -s <path> β€” Set the location for creating the working directory of the worker.
  • -j <> β€” Use job array to submit workers.
  • -p <parameters> β€” Torque qsub parameters.
  • -h β€” Show help message.

πŸ”₯ EXIT STATUS πŸ”₯

On success, returns zero. On failure, returns non-zero. simple as that bestie. 😌


🌈 EXAMPLES 🌈

Submit 10 worker instances to run on Torque and connect to a specific manager:

torque_submit_workers manager.somewhere.edu 9123 10

Submit 10 work_queue_worker instances to run on Torque in auto mode with their preferred project name set to Project_A and abort timeout set to 3600 seconds:

torque_submit_workers -a -t 3600 -M Project_A 10

look at that. iconic. πŸ”₯


The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.


πŸ¦‹ SEE ALSO πŸ¦‹


okay that's the whole page bestie, go forth and submit those workers πŸ’–βœ¨

this lil doc is from CCTools 8.0.0 DEVELOPMENT, and yeah the page you just read is torque_submit_workers(1). mwah. πŸŽ€πŸ’…πŸ«Ά

πŸ“¦ where this page comes from