Configuration file |
Parameter and syntax |
Behavior |
---|---|---|
.cshrc .profile |
LSF_EXECUTE_DOMAIN= domain_name |
|
When… |
In the file … |
And the job is submitted by … |
The job … |
---|---|---|---|
LSF_USER_DOMAIN= SUPPORT:ENGINEERING and LSF_EXECUTE_DOMAIN= ENGINEERING |
lsf.conf .profile .cshrc |
|
|
These additional examples are based on the following conditions:
In lsf.conf, LSF_USER_DOMAIN=SALES:ENGINEERING:BUSINESS
The user has sufficient permissions to run the job in any of the LSF user domains
UNIX user1 enters … |
And LSF_EXECUTE_DOMAIN is … |
Then LSF runs the job as … |
---|---|---|
bsub -m "hostb" myjob |
Not defined in the user environment file |
SALES\user1 |
bsub -m "hostb" myjob |
Defined as BUSINESS in the user environment file |
BUSINESS\user1 |
setenv LSF_EXECUTE_DOMAIN BUSINESSbsub -m "hostb" myjob |
Either defined or not defined in the user environment file |
BUSINESS\user1 The command line overrides the user environment file. |