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

RE: [Condor-users] Newbie Questions (WIN32)



Windows XP can be made to understand UNC -
Just make some changes to the registry:

[HKEY_USERS\.DEFAULT\Software\Microsoft\Command Processor]
; - use TAB to auto complete command line, kinda Bash style, but not as
clever
"PathCompletionChar"=dword:00000009
"CompletionChar"=dword:00000009
; - next entry (when set to 1) will allow using UNC in command prompt
"DisableUNCCheck"=dword:00000001 

The same settings should go into other parts of the registry, I am not sure
which one is needed. :-)

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"PathCompletionChar"=dword:00000009
"CompletionChar"=dword:00000009
"DisableUNCCheck"=dword:00000001 

For example, I am starting cmd.exe, and \\seas - is our Samba PDC:
=======================================================
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Kaliazia>cd \

C:\>set PATH=c:\windows;c:\windows\system32

C:\>dir \\seas\condor
 Volume in drive \\seas\condor is ...
 Volume Serial Number is 02A5-0A95

 Directory of \\seas\condor

25/05/2004  15:29    <DIR>          .
23/11/2004  10:37    <DIR>          ..
25/05/2004  15:30    <DIR>          cygwin
               0 File(s)              0 bytes
               3 Dir(s)  20,365,443,072 bytes free

C:\>
========================================================

But Condor still have problems launching jobs from UNC folders on Windows.
I have pointed it out couple of times on this forum, but got no reply,
unfortunately.

cheers,

Andrey


> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx 
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of John Wheez
> Sent: Wednesday, December 22, 2004 11:29 PM
> To: nnoydb@xxxxxxxxxx; Condor-Users Mail List
> Subject: Re: [Condor-users] Newbie Questions (WIN32)
> 
> Condor understands UNC.
> Windows Command shell doesn not understand UNC
> 
> So to make things simple, you can have condor execute a windows batch 
> file. The first lines of teh batch file
> will setup your environment..you can then mount drives using 
> the NET USE 
> command..ets
> the last line will be your executable and condor can pass the 
> arguments 
> in to the windows batch.
> 
> this also works for linux too.
> 
> Hope this helps, JW
> 
> 
> N wrote:
> 
> >I am currently using a home grown PERL/SSH batch clustering 
> system on the Win32 platform (Win32 not my choice).  I am 
> attempting to replace this home grown system with something 
> better documented and a nit more stable.  However, I have 
> several requirements that must be met.
> >
> >
> >1.	Job must execute in the context of the user id which 
> create/queued it.
> >2.	Jobs must be able to access network resource via URIs 
> (\\<server>\<share> syntax)
> >
> > I find several references that state Condor cannot 
> currently access URI resources is this correct?   Is this 
> because it does not execute the task in the context of the 
> user that created it (keep in mind I am referring to win32)?
> >
> >If I cannot access via URI is it possible to attach a 
> preprocess step to map a driver letter to a specific share?
> >
> >N
> >
> >
> >
> >-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
> >Disclaimer:
> >
> >Any resemblance between the above views and those of my
> >employer, my terminal, or the view out my window are purely
> >coincidental. 
> >Any resemblance between the above and my own views is 
> non-deterministic.
> >
> > The question of the existence of views in the absence of 
> anyone to hold
> >them
> >is left as an exercise for the reader. The question of the 
> existence of
> >the reader
> > is left as an exercise for the second god coefficient. 
> >(A discussion of non-orthogonal, non-integral polytheism is 
> beyond the
> >scope of this article.)
> >
> >
> >
> >_______________________________________________
> >Join Excite! - http://www.excite.com
> >The most personalized portal on the Web!
> >_______________________________________________
> >Condor-users mailing list
> >Condor-users@xxxxxxxxxxx
> >http://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >  
> >
> 
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> http://lists.cs.wisc.edu/mailman/listinfo/condor-users
>