Analytics Environment Client-Side Environment Variables

The following environment variables can be used on the client side to control the connection to the SAS High-Performance Analytics environment. You can set these environment variables in the following ways:
  • invoke them in your SAS program using options set=
  • add them to your shell before running the SAS program
  • add them to your sasenv_local configuration file, if you want them used in all SAS programs
GRIDHOST=
identifies the root node on the SAS High-Performance Analytics environment to which the client connects.
The values for GRIDHOST and GRIDINSTALLLOC can both be specified in the GRIDHOST variable, separated by a colon (similar to the format used by scp). For example:
GRIDHOST=my_machine_cluster_001:/opt/TKGrid
GRIDINSTALLLOC=
identifies the location on the machine cluster where the SAS High-Performance Analytics environment is installed. For example:
GRIDINSTALLLOC=/opt/TKGrid
GRIDMODE=SYM | ASYM
toggles the SAS High-Performance Analytics environment between symmetric (default) and asymmetric mode.
GRIDRSHCOMMAND= " " | " ssh-path"
(optional) specifies rsh or ssh used to launch the SAS High-Performance Analytics environment.
If unspecified or a null value is supplied, a SAS implementation of the SSH protocol is used.
ssh-path specifies the path to the SSH executable that you want to use. This can be useful in deployments where export controls restrict SAS from delivering software that uses cryptography. For example:
option set=GRIDRSHCOMMAND="/usr/bin/ssh";
GRIDPORTRANGE=
identifies the port range for the client to open. The root node connects back to the client using ports in the specified range. For example:
option set=GRIDPORTRANGE=7000-8000;
GRIDREPLYHOST=
specifies the name of the client machine to which the SAS High-Performance Analytics environment connects. GRIDREPLYHOST is used when the client has more than one network card or when you need to specify a full network name.
GRIDREPLYHOST can be useful when you need to specify a fully qualified domain name, when the client has more than one network interface card, or when you need to specify an IP address for a client with a dynamically assigned IP address that domain name resolution has not registered yet. For example:
GRIDREPLYHOST=myclient.example.com
Last updated: June 19, 2017