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

RE : RE : [Condor-users] pb of job submission on windows machine

In fact, what I want to do since the beginning is :
- to submit a job from the linux machine on a windows machine 

REM Job de test
echo Mon Job sur NT
dir c:\
dir w:\
c:\condor\wbin\touch w:\test\toto

Executable     = job.bat
Universe = vanilla                   
Output = job.out
Error = job.err
Log     = job.log                                                    
Requirements = OpSys == "WINNT50" || OpSys == "WINNT51"
WhenToTransferOutput = ON_EXIT
Queue 1

Name          OpSys       Arch   State      Activity   LoadAv Mem   ActvtyTime

devsrv01.gx.c LINUX       INTEL  Unclaimed  Idle       0.130   501  0+00:00:00
devsrv03.gx.c LINUX       INTEL  Unclaimed  Idle       0.420   502  0+00:05:06
devsrv07.gx.c LINUX       INTEL  Unclaimed  Idle       2.190   502  0+01:35:55
PARLT003.gx.c WINNT51     INTEL  Unclaimed  Idle       0.149   511  0+00:00:03

                     Machines Owner Claimed Unclaimed Matched Preempting

         INTEL/LINUX        3     0       0         3       0          0
       INTEL/WINNT51        1     0       0         1       0          0

               Total        4     0       0         4       0          0

-----Message d'origine-----
De : condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] De la part de Matt Hope
Envoyé : vendredi 4 mars 2005 10:10
À : Condor-Users Mail List
Objet : Re: RE : [Condor-users] pb of job submission on windows machine

On Fri, 4 Mar 2005 09:30:44 +0100, Régis Baudu
<Regis.Baudu@xxxxxxxxxxxxx> wrote:
> In fact, I just want the program, started by condor on the windows machine, accessed files which are on a mounted drive (using samba).
> The condor daemons and the program executes locally on the windows machine, let's say c: drive; and the program read and write on a linux filesystem I have previously mounted using samba (net use w: \\mylinuxmachine\tmpcondor).
> When I try with the condor service started under 'local system', I get an error of the form: 'w:\test\mytest.txt : No such file or directory' and the file is there.

When you say previously mounted with net use do you mean your jobs do
this in a batch script or that you did this on the machines as a
different user?

If it was the former what credentials are you supplying (since your
reuse-vmX users will not be members of any domain it is likely that
they have no access to this share without it)

If the latter then the reuse-vmX will certainly not have access to
those mount points - you have to put the net use in the job or make
some permanant modifications to the reuse accounts to give them access
(In the end I found it much easier to put the net use with embedded
passwords in the batch file)

I suggest that whatever you do you do a 

echo "dir listing w:"
dir w:
echo "dir listing w:\test"
dir w:\test

And see what the os can actually find (I'm guessing nothing)


Condor-users mailing list