pbs_default(3B)
π pbs_default(3B) β the "who's my server bestie" call π
okay so this is pbs_default from section 3B of the PBS manual β yes the manual name is literally PBS and yes this page is your lil guide to finding out which server you're defaulting to. buckle up π
β¨ NAME β¨
pbs_default β returns the pbs default server name π¦
β¨ SYNOPSIS β¨
#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_default()
like, that's it. two includes, one function, zero arguments. she's low maintenance π
β¨ DESCRIPTION β¨
so what happens is a character string gets returned, and that string contains the name of the default PBS server. that's the whole vibe of the function, no cap πΈ
and how does the system decide what the default server is? two ways, bestie β it's defined by:
- the setting of the environment variable
PBS_DEFAULT, which contains a destination, or - the destination in the batch administrator established file
{PBS_DIR}/default_destn
that's the tea. one is an env var, the other is a file the batch administrator sets up. {PBS_DIR} goes in the path exactly like that, so don't go renaming it π
β¨ SEE ALSO β¨
go read these too, they're iconic in their own right π
qsub(1B)pbs_connect(3B)pbs_disconnect(3B)- and the PBS External Reference Specification
β¨ DIAGNOSTICS β¨
if the default server cannot be determined, a NULL value is returned. so likeβ¦ check for NULL, fr fr π
and that's the page!! this one came from the Local source, dated the same as the footer, and it's section 3B of the PBS manual β pbs_default(3B), mwah πβ¨
π¦ where this page comes from
- epel 9: torque-devel 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