vovgetflexlmdaemons
In some situations, using other methods to set the LM_VAR_NAME variable on the fly may be preferred. The utility vovgetflexlmdaemons can be used to locate the daemons that need to be used based on the resources grabbed by Accelerator at dispatch time.
vovgetflexlmdaemons: Usage Message
DESCRIPTION:
Processes VOV_UNSET_VARNAMES, VOV_LM_VARNAMES, and/or LM_FILE_VAR
environment variables and generates script for the specified shell that
will unset the variables listed in VOV_UNSET_VARNAMES and then set
LM_LICENSE_FILE to match the resources used by the job whose ID is in
VOV_JOBID or those provided on the command line.
USAGE:
% vovgetflexlmdaemons [OPTIONS] [RESOURCES]
OPTIONS:
-v -- Increase verbosity
-h -- This help
-sh -- Specify the shell for the output script, default is csh
-bash
-ksh
-csh
-tcsh
EXAMPLES:
% vovgetflexlmdaemons -h
% vovgetflexlmdaemons
% vovgetflexlmdaemons -bash
% vovgetflexlmdaemons -bash License:lic_drc
EXAMPLE OUTPUT:
### With -bash option.
LM_LICENSE_FILE=6306@mac05;
export LM_LICENSE_FILE;
### With -csh option.
setenv LM_LICENSE_FILE 6306@mac05
USAGE IN SCRIPTS:
eval `vovgetflexlmdaemons`;