pbs_default - Man Page

return the pbs default server name

Synopsis

#include <pbs_error.h>
#include <pbs_ifl.h>

int pbs_default()

Description

A character string is returned containing the name of the default PBS server. The default server is defined by (a) the setting of the environment variable PBS_DEFAULT which contains a destination, or (b) the destination in the batch administrator established file {PBS_DIR}/default_destn.

See Also

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.

Info

Local PBS