Troubleshooting
Problem
On C shell of a submission host, add a directory of one command into PATH environment variable, run bsub to submit a job with the command as job. On the execution host, you can find the command in the specified directory, but the message "Command not found", is reported for the job.
Symptom
1. Check lsb.queues, find JOB_STARTER is set for normal queue as below:
JOB_STARTER = /bin/csh -c "%USRCMD"
2. Write a test.sh script in shared directory /shared/xxx and set execution permission for it. The test.sh script can be accessed and executed on submission and execution hosts.
3. On submission host, set PATH environment variable
>setenv PATH /shared/xxx:${PATH}
4. Run test.sh job on LSF, you can not find test.sh command.
>bsub -Is 'which test.sh'
Job <xxx> is submitted to default queue <interactive>.
<<Waiting for dispatch ...>>
<<Starting on host2>>
test.sh: Command not found.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
23 June 2018
UID
isg3T1027480