[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Condor 7.6 - Parallel Universe on Windows - PATH messed up with wrong "slash"
- Date: Thu, 19 Jan 2012 14:02:06 -0600
- From: Ziliang Guo <ziliang@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Condor 7.6 - Parallel Universe on Windows - PATH messed up with wrong "slash"
Windows itself does not seem to take issue with having / instead of \,
at least on the command line, as I just tried it on my 2k3 VM, which
leads me to believe the issue is within Condor. I'll have to test out
an actual parallel universe job to see what is going on.
On Wed, Jan 18, 2012 at 5:29 PM, Felix Wolfheimer
> In my job I tried to execute the "icacls" tool which can be used to edit
> the access control lists of files/directories on the command line. The
> tool is found in c:\windows\system32. When I replace the PATH in my
> USER_JOB_WRAPPER like this
> set PATH=C:\condor\bin;C:\WINDOWS\system32;C:\WINDOWS;...
> everything works as expected. So I guessed that the "/" is for some
> reason a problem here. At least the PATH is causing the issue as the
> thing runs correctly as soon as I overwrite it with the PATH above.
> BTW: This is a Windows Server 2003 R2 machine.
> Am Mittwoch, den 18.01.2012, 16:11 -0600 schrieb Ziliang Guo:
>> Could you give an example of what tool is broken? I just tried
>> putting C:\condor/bin in my path and suffered no issues.
>> On Wed, Jan 18, 2012 at 3:56 PM, Felix Wolfheimer
>> <f.wolfheimer@xxxxxxxxxxxxxx> wrote:
>> > I recently noticed a problem when I tried to submit a job using the
>> > "Parallel" universe on Windows. I know that Condor modifies the PATH
>> > variable for the executing job but for the job submitted to the
>> > "parallel" universe it does that in a different way than it does for
>> > the "Vanilla" universe. When I submit a job to the vanilla universe I
>> > see the following path on the execution machine:
>> > PATH=C:\WINDOWS\system32;C:\WINDOWS;...
>> > But when I submit it to the "parallel" universe I get:
>> > PATH=C:\condor/bin;C:\WINDOWS\system32;C:\WINDOWS;...
>> > I don't know why Condor adds "C:\condor/bin" or where it takes this
>> > string from but that definitely messes up the PATH. If you try to
>> > access tools located in C:\Windows\system32 you will notice that they
>> > are no longer found. The "/" in the PATH seems to confuse Windows. I'm
>> > using a USER_JOB_WRAPPER and just overwrite the broken PATH there as a
>> > workaround but would be nice if this could be fixed.
>> > _______________________________________________
>> > Condor-users mailing list
>> > To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
>> > subject: Unsubscribe
>> > You can also unsubscribe by visiting
>> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>> > The archives can be found at:
>> > https://lists.cs.wisc.edu/archive/condor-users/
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> The archives can be found at:
Condor Project Windows Developer