pbs_asyrunjob(3B)
π NAME π
pbs_asyrunjob β run an asynchronous PBS batch job
okay so bestie, this is the tea on pbs_asyrunjob(3B) from the PBS Professional manual. It's the call that asks the server to run an async batch job, and it's genuinely giving βI know my way around a schedulerβ energy.
β¨ SYNOPSIS β¨
#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_asyrunjob(int connect, char *jobID, char *location,
char *extend)
πΈ DESCRIPTION πΈ
Issues a batch request to run a batch job.
It generates an Asynchronous Run Job request and sends it to the server over the connection specified by connect.
The server validates the request and replies before initiating the execution of the job.
You can use this version of the call to reduce latency in scheduling, especially when the scheduler must start a large number of jobs. slay for batch scheduling, honestly.
π REQUIRED PRIVILEGE π
You must have Manager or Operator privilege to use this command.
no random user energy here β you need the privileges, periodt.
π ARGUMENTS π
connectβ Return value ofpbs_connect(). Specifies connection over which to send batch request to server.jobIDβ ID of job to be run.
Format for a job:
<sequence number>.<server name>
Format for an array job, copied exactly as written:
<sequence number>[].<server name
locationβ Location where job should run, and optionally resources to use. Same asqrun -H:
-H <vnode specification without resources> β The vnode specification without resources has this format:
(<vchunk>)[+(<vchunk>) ...]
where vchunk has the format
<vnode name>[+<vnode name> ...]
Example: -H (VnodeA+VnodeB)+(VnodeC)
PBS applies one requested chunk from the job's selection directive in round-robin fashion to each vchunk in the list. Each vchunk must be sufficient to run the job's corresponding chunk, otherwise the job may not execute correctly.
-H <vnode specification with resources> β The vnode specification with resources has this format:
(<vchunk>)[+(<vchunk>) ...]
where vchunk has the format
<vnode name>:<vnode resources>[+<vnode name>:<vnode
resources> ...]
and where vnode resources has the format
<resource name>=<value>[:<resource name>=<value> ...]
Example:
-H (VnodeA:mem=100kb:ncpus=1)+
(VnodeB:mem=100kb:ncpus=2+ VnodeC:mem=100kb)
PBS creates a new selection directive from the vnode specification with resources, using it instead of the original specification from the user. Any single resource specification results in the job's original selection directive being ignored. Each vchunk must be sufficient to run the job's corresponding chunk, otherwise the job may not execute correctly.
β οΈ if the job being run requests-l place=exclhost, take extra care to satisfy theexclhostrequest. Make sure that if any vnodes are from a multi-vnoded host, all vnodes from that host are allocated. Otherwise those vnodes can be allocated to other jobs. literally do not skip this part, bestie.
extendβ Character string for extensions to command. Not currently used.
π¦ RETURN VALUE π¦
The routine returns 0 (zero) on success.
If an error occurred, the routine returns a non-zero exit value, and the error number is available in the global integer pbs_errno.
π SEE ALSO π
qrun(1B)pbs_connect(3B)pbs_runjob(3B)
mwah π this page is from the Local source, PBS Professional, dated 11 December 2019 β and that's the whole vibe, no cap.
π¦ where this page comes from
- nixos 26.05: openpbs 23.06.06-unstable-2026-04-02
- nixpkgs unstable: openpbs 23.06.06-unstable-2026-04-02
- Copyright (C) 1994-2021 Altair Engineering, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms