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

Re: [Condor-users] acceses to data files on shared drive



Hi Robert,

You can do this by running your executable within a batch
file that will first issue a NET USE statement to perform
the drive mapping. A minimal batch file to do this could
be as follows:

NET USE T: \\servername\sharedfolder
myprog.exe -i T:\shared\dir\datafile.txt

[You can try running NET USE /? to get the full list of
switches supported by the command (you'll most likely
need to use /USER:username combined with a password to
make this work with password-protected Windows shares).]

Once you've created a simple batch file, you'll also need
to modify your submit description file and pass that as
the argument to the 'executable' command, i.e.:

executable = RUNME.BAT

Hope this helps! :)

Regards,
Andreas Roussos
Systems Administrator
Operating Systems Group
University College London

Robert Stones wrote:
Hi

Apologies new to using condor.

I wish to use condor that each computer node accesses the same data files on a shared drive e.g. T:/shared/dir/datafile.txt - condor is running on a cluster of PCs.

How can I submit jobs so that condor knows that it has to access files in the T:/shared/dir ?


Robert


CSL Bioinformatics Internet Pages at http://bioinformatics.csl.gov.uk
----------------------------------------------------------------------
Robert Stones	 			Phone:  +44 (0)1904 462675
Higher Bioinformatics Specialist        GTN:    5129 2675
Central Science Laboratory              Fax:    +44 (0)1904 462111
Sand Hutton                             Email:  r.stones@xxxxxxxxxx
York YO41 1LZ                           Web:    http://www.csl.gov.uk
----------------------------------------------------------------------
_______________________________________________
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/