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

Re: [HTCondor-users] .bashrc settings are not seen by the condor script



Well I think it need something else. Please see the output.

[mahmood@rocks7 gauss]$ cat submit.ht
universe = parallel
executable = g09
arguments = TS.gjf
log = ts.log
output = ts.out
error = ts.err
getenv = True
machine_count = 1
queue
[mahmood@rocks7 gauss]$ which g09
/usr/local/chem/g09-64-D01/g09
[mahmood@rocks7 gauss]$ condor_submit submit.ht
Submitting job(s)
ERROR: Executable file g09 does not exist
[mahmood@rocks7 gauss]$




Regards,
Mahmood


On Friday, January 26, 2018, 5:54:54 AM EST, Carlos Adean <carlosadean@xxxxxxxxxxxx> wrote:


Hi,

I think the parameter getenv = True is what you need.


From http://research.cs.wisc.edu/htcondor/manual/current/condor_submit.html
getenv = <True | False>
If getenv is set to True, then condor_submit will copy all of the user's current shell environment variables at the time of job submission into the job ClassAd. The job will therefore execute with the same set of environment variables that the user had at submit time. Defaults to False.


--
Carlos Adean
IT Team
www.linea.gov.br
skype: carlosadean