none
question:can not find the network path RRS feed

  • 问题

  • I installed HPC Pack 2008 R2 SP2 Beta on head node and compute node.The system of head node and compute node is Windows Server 2008 R2.The informations about DSC are as follows:

    C:\Users\Administrator>dsc node list
    COMPUT
    HEAD

    The COMPUTE is a compute node.The HEAD is the head node.

    C:\Users\Administrator>dsc node view compute
    Node compute:
        State = ReadWrite
        Storage UNC Path = \\COMPUTE\HpcData
        Storage Local Path = c:\Dryad\HpcData
        Allocated Size = 0
        Free Space = 5787881266

    C:\Users\Administrator>dsc node view head
    Node head:
        State = ReadWrite
        Storage UNC Path = \\HEAD\HpcData
        Storage Local Path = c:\Dryad\HpcData
        Allocated Size = 0
        Free Space = 28830396416

    I created a fileset named MyFileSet2 on DSC.The information about MyFileSet2 is as follows:

    C:\Users\Administrator>dsc fileset view MyFileSet2
    FileSet MyFileSet2:
        Sealed = True
        File Count = 1
        Total File Size = 103
        Creation Time = 2011/5/15 23:01:49
        Last Used Time = 2011/5/15 23:01:49
        Lease Time = None
        Replication Factor = 1
        Permissions:
            BUILTIN\Administrators          ReadOrModify
            BUILTIN\Power Users             Read
            COMPUTE\Administrator           ReadOrModify    Owner

    C:\Users\Administrator>dsc fileset view MyFileSet2 /files
    FileSet MyFileSet2:
        Sealed = True
        File Count = 1
        Total File Size = 103
        Creation Time = 2011/5/15 23:01:49
        Last Used Time = 2011/5/15 23:01:49
        Lease Time = None
        Replication Factor = 1
        Permissions:
            BUILTIN\Administrators          ReadOrModify
            BUILTIN\Power Users             Read
            COMPUTE\Administrator           ReadOrModify    Owner
        Files:
            0000000000000002.data

    When i submit a program,the error is "can not find the network path".My program is:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.Hpc.Linq;

    namespace MyProject
    {
        class Program
        {
            static void Main(string[] args)
            {
                var config = new HpcLinqConfiguration("head");
                var context = new HpcLinqContext(config);

           var lengths = context.FromDsc<LineRecord>("MyFileSet2")
                                .Select(r => r.Line.Length);
           Console.WriteLine("The maximum line length is {0}", lengths.Max());

            }
        }
    }

    The detail about the error is:

    Unhandle Microsoft.Hpc.Linq.HpcLinqException
      Message=Error submitting job to head. Refer to inner exception for more detail.
      Source=Microsoft.Hpc.Linq
      ErrorCode=50331656
      StackTrace:
           at Microsoft.Hpc.Linq.HpcJobSubmission.SubmitJob()
           at Microsoft.Hpc.Linq.JobExecutor.ExecuteAsync(String dryadProgram)
           at Microsoft.Hpc.Linq.HpcLinqQueryGen.InvokeDryad()
           at Microsoft.Hpc.Linq.HpcLinqQuery`1.ToTable(HpcLinqContext context, String targetUri, Boolean isTempOutput)
           at Microsoft.Hpc.Linq.HpcLinqQuery`1.GetEnumerator()
           at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
           at Microsoft.Hpc.Linq.DryadLinqProvider.Execute[TResult](Expression expression)
           at System.Linq.Queryable.Max[TSource](IQueryable`1 source)
           at MyProject.Program.Main(String[] args) location D:\MyProject\MyProject\Program.cs:line 20
           at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
           at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: System.ApplicationException
           Message=DryadJobSumission.SubmitJob: Error trying to copy files to staging directory. 'can not find the network path。
    '
           Source=Microsoft.Hpc.Query.JobSubmission
           StackTrace:
                at Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStagingCluster(String DryadJobSpecificStagingDir)
                at Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStaging(String DryadJobSpecificStagingDir)
                at Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitJob()
                at Microsoft.Hpc.Linq.HpcJobSubmission.SubmitJob()
           InnerException: System.IO.IOException
                Message=not find the network path。

                Source=mscorlib
                StackTrace:
                     at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
                     at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
                     at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
                     at Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStagingCluster(String DryadJobSpecificStagingDir)
                InnerException:

    What can i do with it?Looking forward for your help!Thanks.

    xfengm

     

     

    2011年5月16日 1:27

答案