locked
hpc 2008 supports network driver as workdirectory? RRS feed

  • Question

  • Hi all,
    Does hpc 2008 support network driver as workdirectory? I mapped a network driver as Z(\\host\sharedname), and set it as workdirectory when submitting job. But the hpc 2008 throwed an exception that this workdiectory cannot be found.

    thanks
    Tuesday, November 3, 2009 5:30 AM

Answers

  • Hi,
    We recommend against using mapped drives.  Mapping a drive from one login session doesn't mean it will be mapped (or mapped to the same drive) when your job runs.  Instead, I recommend using the full UNC Path (\\host\sharename) as your stdin/stdout/stderr.

    Thanks!
    Josh


    -Josh
    Tuesday, November 3, 2009 4:03 PM
    Moderator
  • If you absolutely must use mapped drives, I recommend mapping them at job launch from within a script . . . for example, put your task command line in a batch script which does:
    net use T: \\server\share
    myapp.exe somearg

    Alternatively, you may be able to enforce drive mapping using AD Group Policy or something similar, but I imagine that will be quite complicated.

    Thanks,
    Josh


    -Josh
    Thursday, November 19, 2009 1:19 AM
    Moderator

All replies

  • Hi,
    We recommend against using mapped drives.  Mapping a drive from one login session doesn't mean it will be mapped (or mapped to the same drive) when your job runs.  Instead, I recommend using the full UNC Path (\\host\sharename) as your stdin/stdout/stderr.

    Thanks!
    Josh


    -Josh
    Tuesday, November 3, 2009 4:03 PM
    Moderator
  • thank you for replying.
    But recently i find one software-starcd doesn't support UNC path, so i have to use mapped drivers to set working directory. If the software doesn't support UNC path, what can i do then?

    thanks
    Tuesday, November 10, 2009 12:58 PM
  • If you absolutely must use mapped drives, I recommend mapping them at job launch from within a script . . . for example, put your task command line in a batch script which does:
    net use T: \\server\share
    myapp.exe somearg

    Alternatively, you may be able to enforce drive mapping using AD Group Policy or something similar, but I imagine that will be quite complicated.

    Thanks,
    Josh


    -Josh
    Thursday, November 19, 2009 1:19 AM
    Moderator