Sun HPC ClusterTools 3.0 Administrator's Guide: With CRE

CRE Environment Variables

You can use the following environment variables to specify default values for various features of your Sun HPC cluster.

These are described in "SUNHPC_CLUSTER ", "SUNHPC_CONFIG_DIR ", and "SUNHPC_PART ", respectively.

SUNHPC_CLUSTER

SUNHPC_CLUSTER specifies the name of the default Sun HPC cluster. This is the cluster to which users will automatically be connected--unless a different cluster is chosen using the mpadmin -s option, as described in "mpadmin Syntax".

You can find out the name of your cluster by running mpinfo -C, which displays information about the cluster, including its name.


Note -

The name of a cluster is always the host name of the cluster's master node--that is, the node on which the master daemons are running.


SUNHPC_CONFIG_DIR

SUNHPC_CONFIG_DIR specifies the directory in which the CRE's resource database files are to be stored. The default is /var/hpc.

SUNHPC_PART

SUNHPC_PART specifies the name of the default partition. This is the partition on which user's jobs will be executed unless a different partition is selected via the mprun -p option. This option is discussed in the Sun HPC Cluster Runtime Environment 1.0 User's Guide.