[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] getenv=true and LD_LIBRARY_PATH
- Date: Thu, 19 May 2016 09:54:13 -0500
- From: Michael V Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] getenv=true and LD_LIBRARY_PATH
From: David Brodbeck <brodbd@xxxxxx>
Date: 05/18/2016 07:12 PM
>
> When I run a job with getenv=true, LD_LIBRARY_PATH is missing from
the
> job's environment, even though it's set on the submit host.
>
> I can think of various reasons someone would want to avoid transferring
> that variable, but I need it for some software we use to function
> properly. Is there a setting for what environment variables
are
> blacklisted by "getenv=true"?
What version are you running? It appears to work in
my configuration
(fairly stock) on 8.4.6.
condor1$ echo $LD_LIBRARY_PATH
condor1$ export LD_LIBRARY_PATH=/usr/local/bin
condor1$ echo $LD_LIBRARY_PATH
/usr/local/bin
condor1$ condor_submit subsimple
Submitting job(s).
1 job(s) submitted to cluster 173.
condor1$ condor_q
-- Schedd: condor1 : <138.127.79.182:20282?...
ID OWNER
SUBMITTED RUN_TIME ST PRI SIZE CMD
173.0 pelletm
5/19 10:48 0+00:00:06 R 0 0.0 sleep 60
1 jobs; 0 completed, 0 removed, 0 idle, 1 running,
0 held, 0 suspended
condor1$ condor_ssh_to_job 173
Welcome to slot1@condor1!
Your condor job is running with pid(s) 563947.
condor1$ printenv | grep LD_LIB
LD_LIBRARY_PATH=/usr/local/bin
condor1$
-Michael Pelletier.
_