[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Condor-users] how can a condor job connect on a Map network drivefor windows platform?
- Date: Fri, 18 Feb 2005 16:40:11 -0000
- From: "Andrey Kaliazin" <A.Kaliazin@xxxxxxxxxxx>
- Subject: RE: [Condor-users] how can a condor job connect on a Map network drivefor windows platform?
I can probably explain what is happening here.
When your submitted job is started on a compute node, it is executed as
user, which has very little access rights. On Windows, mapping of the
network shares is done
on per-user basis, so condor-reuse-vmX, which is created dynamically, does
not have any mapping.
So, you either have to create such user manually on each compute node, login
as him and map
permanently this drive (I haven't tried it myself) or,
do the mapping vi the script, which starts your application. It works for me
as I have /usr/local
shared for cygwin with the guest account -
rem runoctave.bat - Octave startup file
net use z: \\seas\pcsoft /USER:%USERNAME% guestaccountpassword
echo Running Octave ...
bash -c "export PATH=/usr/local/bin:$PATH ; octave %1 %2 %3 %4 %5 %6 %7 %8
echo All done.
in this example mapping is required, because in the cygwin itself on each
the folder /cygdrive/z/cygwin/usr/local
is already mounted permanently as /usr/local
but you can perform mount in this batch also.
Hope this helps.
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of ramzi
> Sent: Friday, February 18, 2005 4:15 PM
> To: Condor-users@xxxxxxxxxxx
> Subject: [Condor-users] how can a condor job connect on a Map
> network drivefor windows platform?
> Hi all,
> I have shared some directories to all my windows machine pool by using
> the Map network drive( X: ).
> when I use this directories without condor all things work fine.
> But the problem is : when I submit a job that use this map network
> drive ( for example to tar a file.tar.gz that exists in the network
> drive x:) there is a problem. condor can't access to this network
> drive X:
> I get this error in the .err file:
> tar (child): /cygdrive/x/gz/apa_comp_pro64.tar.gz: Cannot open: No
> such file or directory.
> I ask if someone can help me?
> thanks ,
> Condor-users mailing list