HP SVA V2.0 Visualization System Software Reference Guide

2 Data Access Environment Variables
This chapter documents the Data Access environment variables used in job launch scripts. These
variables are defined in the /opt/sva/bin/sva_init.sh initialization file. The Data Access
Functions for running an application, interactively or using a launch script, use these variables.
You need to execute the . svainit command in any launch script before you use the Data
Access Functions to set values for the environment variables. Refer to the SVA User's Guide for
more information on running your application.
Table 2-1 lists SVA-specific environment variables, as well as several shell environment variables
that are used by the launch scripts.
Table 2-1 Environment Variables for Running Applications
DescriptionVariable
svainit sets this variable to :0.0. This value changes
temporarily when DMX servers start.
DISPLAY
svainit sets this variable to 1 to avoid GCONF problems
that cause the display node X Server to crash. Do not
modify this value.
GCONF_LOCAL_LOCKS
The job ID of the current allocation.
SLURM_JOBID
svainit sets this variable to the location where Job
Settings Files are stored. Do not modify this value.
SVA_JOBS
svainit sets this variable to the location where the DMX
configuration files for each Display Surface are stored.
Do not modify this value.
SVA_DMX_CONFIG_PATH
svainit sets this variable to the name of a temporary
file that is used for svagetdata and svaputdata before
a job is allocated. Do not modify this value.
SVA_TEMP_DATA_FILE
svaAllocateJob sets this variable to the condensed list
of display, render, and compute resources requested for
a job. Do not modify this value.
SVA_Allocate_Hosts
This internal variable is initially set to 0 and later set to
1 to indicate that cleanup is complete. Do not modify this
value.
SVA_Cleanup_Complete
This variable is initially set to 0. However, if
SVA_COMPUTE_COUNT is specified in the User
Configuration File, it is set by svaGetJobDefaults. It
can also be set by the command line argument -c in some
scripts; for example, sva_job_template.sh.
Before the job is allocated, this value is used to request
computing resources for a job. After the job is allocated,
it is used to control job steps to computing resources.
The variable value is also stored in the Job Settings File,
SVA_JOB section, SVA_COMPUTE_COUNT tag. Do not
modify this value after the job is allocated.
SVA_Compute_Count
svaAllocateJob sets this variable to the condensed
host names of the compute hosts allocated to the job. This
value is also stored in the Job Settings File, SVA_JOB
section, SVA_COMPUTE_HOSTS tag.
SVA_Compute_Hosts
11