Controls the propagation of the specified job submission environment variables to the execution hosts.
properties
Specify a comma-separated list of job submission environment variables to control the propagation to the execution hosts.
In UNIX, fullpath=/tmp/:$filename appends /tmp/ to the beginning of the filename environment variable and assigns this new value to the fullpath environment variable. Use a colon (:) to separate multiple environment variables.
In Windows, fullpath=\Temp\:%filename% appends \Temp\ to the beginning of the filename environment variable and assigns this new value to the fullpath environment variable. Use a semicolon (;) to separate multiple environment variables.
The shell under which you submitted the job will parse the quotation marks.
For example, -env "all, var1=value1, var2=value2" submits jobs with all the environment variables, but with the specified values for the var1 and var2 environment variables.
The environment variable names cannot contain the following words and symbols: "none", "all", comma (,), tilde (~), equals sign (=), double quotation mark (") and single quotation mark (').
The variable value can contain a tilde (~) and a comma (,). However, if the value contains a comma (,), the entire value must be enclosed in single quotation marks. For example:
bsub -env "TEST='A, B' "
An esub can change the -env environment variables by writing them to the file specified by the LSB_SUB_MODIFY_FILE or LSF_SUB4_SUB_ENV_VARS environment variables. If both environment variables are specified, LSF_SUB_MODIFY_FILE takes effect.
When -env is not specified with bsub, the default value is -env "all" (that is, all environment variables are submitted with the default values).
The entire argument for the -env option may contain a maximum of 4094 characters for UNIX and Linux, or up to 255 characters for Windows.
If -env conflicts with -L, the value of -L takes effect.
The following environment variables are not propagated to execution hosts because they are only used in the submission host:
The following environment variables do not take effect on the execution hosts: LSB_DEFAULTPROJECT, LSB_DEFAULT_JOBGROUP, LSB_TSJOB_ENVNAME, LSB_TSJOB_PASSWD, LSF_DISPLAY_ALL_TSC, LSF_JOB_SECURITY_LABEL, LSB_DEFAULT_USERGROUP, LSB_DEFAULT_RESREQ, LSB_DEFAULTQUEUE, BSUB_CHK_RESREQ, LSB_UNIXGROUP, LSB_JOB_CWD