Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Run Matlab Jobs using Condor
- Date: Sun, 08 Dec 2013 13:20:39 -0600
- From: Evan <evan@xxxxxxxxxx>
- Subject: Re: [HTCondor-users] Run Matlab Jobs using Condor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If my memory serves you need to tell condor to actually mount that
network drive, since they're user specific. That is, the "L:" drive is
not system wide, but just for your user. When condor runs it runs as
its own user, and thus does not have access to the "L:" drive anymore.
I don't have a specific example of how I over came this problem in the
past, but I think I used a .bat file to mount the drive first and then
run the program I needed.
Hope that helps,
Evan
On 12/08/2013 10:29 AM, Dennis Zheleznyak wrote:
> Hi everyone,
>
> I have the latest 8.1.2 Condor running on a Microsoft Windows 7
> Professional 64 Bit machine.
>
> I have a complied Matlab executable that accepts a parameter which
> is a folder, and knows to take the files inside it and run all
> sorts of calculations using them.
>
> *_Details:_* C:\test\program.exe - The executable
> C:\test\condor.submit_0 - The Job file L:\Patients\1090\ - A mapped
> network drive and the directory that holds the files.
>
> *_Condor.submit_0:_* universe = vanilla executable = program.exe
> error = error.$(cluster) should_transfer_files = YES
> when_to_transfer_output = ON_EXIT getenv = True load_profile = True
> arguments = "L:\Patients\1090" queue 1
>
> When I run the program by double clicking, everything works
> properly. When I try to run it through Condor using the
> condor.submit_0 file that is seen above I get the following error:
>
> Error: {Error using cd Cannot CD to L:\Patients\1090 (Name is
> nonexistent or not a directory).
>
> Error in demo33 (line 4) } MATLAB:cd:NonExistentDirectory
>
> The directory exists, I can access it and the permissions are fine.
>
>
> I know I can use the "input= <folder>" to copy the folder and it's
> content to the temporary execute folder but what do I need to
> insert into "arguments = <Folder>" so the job will run properly ?
>
> The number that is given to C:\condor\execute\condor_XXXX is random
> and I can't insert a a number that I don't know about into the job
> file.
>
> Any suggestion ?
>
>
> _______________________________________________ HTCondor-users
> mailing list To unsubscribe, send a message to
> htcondor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You
> can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBAgAGBQJSpMaGAAoJEIeJ3lPmfXqoKjUP/jRrjDzdcuN5sR529jkS47jf
EzMwJJuJE/iI7GUqLdhxEylTJO/nEwvNpl/sISibYUBr8PCndOhCdPCOrIfTm/G5
PcrIs93KYsqyI68cVCOYWMLXHEFjRZN49sda07mdGHaKFwc7YmsdjS4T8vw4ACwe
lpt9hWAIve+ktGmagq4WVrcm1TNZ3wvuZAM5YRkfvXGY6APNuw4uvoPJ0gdXlEuU
uUHb/sz+EeUzgPqYKs+h4iDtBDC51xgIFyI+fI7rfKn+vPQeW5JMms5xzCYkiqr5
rhZykYzbubm84C2SAeDSrAJRbL2BDTaN3E5ewtV/oeN49M2LfkKsiAhVzltNOfQE
2PDpCYFPATSptucpvLRrOEQNY8Itociw5R4T1gkFLO/q8EI6ln5Z9cCKeCRoYVQX
UDrqg8Hqu0JybiU+prnufN/vpJrNPO/L07rvDDjPNOwH5I08qAugVsN+3pIYa20L
d5JvFk4AIPBhBPbiIgawN5oRWHh97LqMHPdC0z43R6j+pL1WNcyLZ4E41w9+yftl
wkE9atSExsButE+n/M6P7gNYIc92wW563u732oq+CQAb818zpZmMNF5wm1/+4Wjz
FsXIHvDHsN05SMMRdsm+8vrwfm4I+oVADieWuQoc7KhXVcW/lr/70GjjWupQfIhG
UuFM6SkAYfpLgVWBp8DH
=pXSX
-----END PGP SIGNATURE-----