vine_submit_workers(1)

πŸ“¦
version 7.15.9 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

✨ vine_submit_workers ✨

okay bestie, welcome to the vine_submit_workers page from the Cooperative Computing Tools manual πŸ’– this one's a baddie β€” it's literally the thing that gets your workers a job.


🌈 NAME 🌈

vine_submit_workers β€” submit vine_worker to the Condor, Slurm, or UGE batch systems. periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

vine_submit_workers [batch options] [worker options] [batch specific options] <servername> <port> <num-workers>

or

vine_submit_workers [batch options] [worker options] --manager-name <name> [batch specific options] <num-workers>

🌸 DESCRIPTION 🌸

So here's the tea β˜• vine_submit_workers schedules the execution of vine_worker(1) on Condor, Slurm, or UGE through their respective job submission interfaces. And how many vine_workers are we scheduling and running? That's the num-workers argument, bestie. That's it. That's the number. πŸ”₯

Now the servername and port arguments specify the hostname and port number of the manager that the vine_worker should connect to. Alternatively β€” and this is the iconic part β€” you can get that info from the catalog server instead by specifying the name of the TaskVine manager using the --manager-name parameter. no cap. ✨


πŸŽ€ BATCH OPTIONS πŸŽ€

  • -T, --batch-type=<batch> β€” Name of the batch system to submit workers to. Your options, out of: condor, slurm, uge. Pick your fighter πŸ‘‘

πŸ’… WORKER OPTIONS πŸ’…

  • -M, --manager-name=<name> β€” Name of the preferred manager for the worker. πŸ’–
  • -N, --name=<name> β€” Same as -M (backwards compatibility). legacy behavior but make it fashion 🫢
  • -C, --catalog=<catalog> β€” Set catalog server to <catalog>. The <catalog> format is: HOSTNAME:PORT.
  • -t, --timeout=<time> β€” Abort after this amount of idle time (default=900s). bye bestie, you're idle too long 😭
  • -d, --debug=<subsystem> β€” Enable debugging on worker for this subsystem (try -d all to start).
  • -w, --tcp-window-size=<size> β€” Set TCP window size.
  • -i, --min-backoff=<time> β€” Set initial value for backoff interval when worker fails to connect to a manager. (default=1s)
  • -b, --max-backoff=<time> β€” Set maxmimum value for backoff interval when worker fails to connect to a manager. (default=60s)
  • -z, --disk-threshold=<size> β€” Set available disk space threshold (in MB). When exceeded worker will clean up and reconnect. (default=100MB)
  • -A, --arch=<arch> β€” Set architecture string for the worker to report to manager instead of the value in uname. main character energy, custom origin story 🌈
  • -O, --os=<os> β€” Set operating system string for the worker to report to manager instead of the value in uname.
  • -s, --workdir=<path> β€” Set the location for creating the working directory of the worker.
  • -P, --password=<pwfile> β€” Password file to authenticate workers to manager. πŸ”
  • -ssl, --=<> β€” Use ssl to communicate with manager.
  • --cores=<cores> β€” Set the number of cores each worker should use (0=auto). (default=1)
  • --memory=<size> β€” Manually set the amonut of memory (in MB) reported by this worker.
  • --disk=<size> β€” Manually set the amount of disk (in MB) reported by this worker.
  • --scratch-dir=<path> β€” Set the scratch directory location created on the local machine. (default=/tmp/${USER}-workers)
  • -E, --worker-options=<str> β€” Extra options passed to vine_worker.
  • -h, --help β€” Show help message. when in doubt πŸ₯Ί

🌟 BATCH SPECIFIC OPTIONS 🌟

πŸ”₯ CONDOR πŸ”₯

  • -r, --requirements=<reqs> β€” Condor requirements expression.
  • --class-ad=<ad> β€” Extra condor class ad. May be specified multiple times. πŸ‘‘
  • --autosize β€” Condor will automatically size the worker to the slot.
  • --docker-universe=<image> β€” Run worker inside <image> using condor's docker universe.

πŸ’œ SLURM πŸ’œ

  • -j, --=<> β€” Use job array to submit workers.
  • -p, --parameters=<> β€” SLURM sbatch parameters.

πŸ“ UGE πŸ“

  • -j, --=<> β€” Use job array to submit workers.
  • -p, --parameters=<> β€” UGE qsub parameters.

⭐ EXIT STATUS ⭐

On success, returns zero. On failure, returns non-zero. simple as that, bestie πŸ’€


🧚 EXAMPLES 🧚

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

vine_submit_workers -T condor manager.somewhere.edu 9123 10

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

vine_submit_workers -T condor -a -t 3600 -M Project_A 10

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


🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸ’– this was CCTools 7.15.9 FINAL and it's giving iconic. mwah, go submit some workers βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from