[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Condor unsetting PATH and setting only variable and not environment



When submitting jobs they have PATH=/usr/local/bin:/usr/bin and no PATH variable in the environment.

1. I don't know where the PATH is coming from
- The PATH of the user the job is running under is different
- This is at the beginning of my job
2. Why is only the variable set and not the environment?
- This causes problems with shell scripts because PATH is undefined in subprocesses (e.g. commands executed in the script)

	I don't understand:

(a) PATH is definitionally the PATH variable in the environment.  You
    can't "have a PATH" if PATH isn't set in the environment.  What are
    you trying to say here?
(b) Given the questions, presumably you meant "When my jobs run," not
    "When submitting jobs"?

Please send a submit file and shell script that demonstrate the problem.

-- ToddM