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

Re: [HTCondor-users] Linux reserved variable when running a job


you can submit your complete local environment with the job or define variables to submit with the job, see:


Only exception is the LD_LIBRARY_PATH that does not get submitted as the kernel considers the condor job to be a suid thing and therefore drops the LD_LIBRARY_PATH.

Easiest thing to check on this is to create a condor job that calls a bash script executing the 'set' command. You will then in your outputfile find the complete job environment. Another way is an interactive job, submitted with 'condor_submit -i' you will then end up in a shell on a workernode and experience the environment of the job 'live'. From my experience though this environment can still differ a little bit from the non-interactive-job environment due to the ssh-login used for the interactive session I guess ... 


Christoph Beyer
DESY Hamburg

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

mail: christoph.beyer@xxxxxxx

Von: "Bo-Ru Roy Lu" <roylu@xxxxxx>
An: "htcondor-users" <htcondor-users@xxxxxxxxxxx>
Gesendet: Donnerstag, 7. Mai 2020 17:56:36
Betreff: [HTCondor-users] Linux reserved variable when running a job

When I used condor to submit my bash script, can I use the variable, such as $USER and $PWD?


HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: