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

Re: [HTCondor-users] enviroment unset variable

Hi Mihai,

I'm not very familiar with the ARC-CE integration, but since no one else seems to have an immediate suggestion...

There's an option in HTCondor submit files called "getenv"; if set to "true" (the default is "false"), then it will make a copy of all the submit-side environment variables as you observe below.

Is it possible this option is being set inside the ARC-CE scripts?


> On Mar 3, 2020, at 7:37 AM, Mihai Ciubancan <ciubancan@xxxxxxxx> wrote:
> Dear all,
> I have configured an ARC-CE with HTCondor for LHC experiments.
> The peoples from Alice experiment are complaining that by default they get
> $PYTHONPATH local variable instead of the one needed by their jobs (from
> cvmfs). I had a look into and I see that each jobs inherit some
> environments variable form ARC-CE machine(with acts also as the schedd for
> condor):
> PYTHONPATH=/usr/lib64/python2.7/site-packages
> Environment = "PATH=/sbin:/usr/sbin:/bin:/usr/bin
> LD_LIBRARY_PATH=/usr/lib64:/usr/lib6464
> PYTHONPATH=/usr/lib64/python2.7/site-packages LANG=en_US.UTF-8
> ARC_LOCATION=/usr.....
> How can I stop from being export PYTHONPATH variable through htcondor?
> Thank you in advance,
> Mihai
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/