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

[Condor-users] Stop Condor cleaning the environment before executing a job



Is there a way to stop Condor cleaning up the Environment Variables before job execution?

For example the machines ENV is

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\******\Application Data
CLIENTNAME=e102136-lin
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SQALS1
ComSpec=C:\WINDOWS\system32\cmd.exe
CVSROOT=\\venus\sdt\sdt
FP_NO_HOST_CHECK=NO
HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=***************
LOGONSERVER=*************
LSHOST=************
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;\\Venus\devsys-tools\collections\subversion\1.6.1\1\win32-prebuilt\bin;\\venus\devsys-tools\collections\perl\5.8.8\1\mswin32_2003-pentium\cl-13.10.3077\bin;\\venus\devsys-tools\collections\python\2.4.3\2\win-all\python-2.4.3;\\Venus\Sdt\scripts;C:\Condor\bin\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PERL5LIB=\\venus\sdt\projects\sqa\Perllib\plibs
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0102
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
SESSIONNAME=RDP-Tcp#4
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\tholuf01\LOCALS~1\Temp
TMP=C:\DOCUME~1\tholuf01\LOCALS~1\Temp
USERDNSDOMAIN=*******.com
USERDOMAIN=*****
USERNAME=******
USERPROFILE=C:\Documents and Settings\tholuf01
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
windir=C:\WINDOWS

but when a job is running the Env is cleaned up to

COMPUTERNAME=SQALS1
COMSPEC=C:\WINDOWS\system32\cmd.exe
CONDOR_INHERIT=660 <10.1.208.171:2799> 0 0
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
PATH=C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;\\Venus\devsys-tools\collections\subversion\1.6.1\1\win32-prebuilt\bin;\\venus\devsys-tools\collections\perl\5.8.8\1\mswin32_2003-pentium\cl-13.10.3077\bin;\\venus\devsys-tools\collections\python\2.4.3\2\win-all\python-2.4.3;\\Venus\Sdt\scripts;C:\Condor\bin\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0102
PROGRAMFILES=C:\Program Files
PROMPT=$P$G
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Condor\execute\dir_660
TMP=C:\Condor\execute\dir_660
TMPDIR=C:\Condor\execute\dir_660
WINDIR=C:\WINDOWS
_CONDOR_JOB_AD=C:\Condor\execute\dir_660\.job.ad
_CONDOR_JOB_IWD=C:\Condor\execute\dir_660
_CONDOR_JOB_PIDS=
_CONDOR_MACHINE_AD=C:\Condor\execute\dir_660\.machine.ad
_CONDOR_SCRATCH_DIR=C:\Condor\execute\dir_660
_CONDOR_SLOT=1

I can't use the getenv command either because we submit mainly from linux machines to a variety of machines with different configurations depending on what we want to test.

Any ideas?

Thanks

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.