Answered HPC 08 not running in parallel

  • Mittwoch, 23. Juli 2008 17:40
     
     
    Hi ,

    The jobs i submit always run on one compute cluster. I am using hpc 08. The code
    cluster.Connect("37-4611A2803A");
                    ISchedulerJob job = cluster.CreateJob();
        
                    int projectID = 1;
                    ISchedulerTask task = job.CreateTask();
                    task.Name = projectID.ToString();
                    task.CommandLine = toolPath + " " + udConfXML + " " + projectID + " " + "1.exe";
                    task.StdOutFilePath = @"C:\test\testSaveEnv1.out";
                    job.AddTask(task);
                    ISchedulerTask task1 = job.CreateTask();
                    task1.CommandLine = toolPath + " " + udConfXML + " " + projectID + " " + "1.exe";
                    task1.StdOutFilePath = @"C:\test\testSaveEnv1.out";
                    job.AddTask(task1);
                    ISchedulerTask task2 = job.CreateTask();
                    task2.CommandLine = toolPath + " " + udConfXML + " " + projectID + " " + "1.exe";
                    task2.StdOutFilePath = @"C:\test\testSaveEnv1.out";
                    job.AddTask(task2);
                    ISchedulerTask task3 = job.CreateTask();
                    task3.CommandLine = toolPath + " " + udConfXML + " " + projectID + " " + "1.exe";
                    task3.StdOutFilePath = @"C:\test\testSaveEnv1.out";
                    job.AddTask(task3);
                    ISchedulerTask task4 = job.CreateTask();
                    task3.CommandLine = toolPath + " " + udConfXML + " " + projectID + " " + "1.exe";
                    task4.StdOutFilePath = @"C:\test\testSaveEnv1.out";
                    job.AddTask(task4);
                    ISchedulerTask task5 = job.CreateTask();
                    task3.CommandLine = toolPath + " " + udConfXML + " " + projectID + " " + "1.exe";
                    task5.StdOutFilePath = @"C:\test\testSaveEnv1.out";
                    job.AddTask(task5);
     cluster.AddJob(job);
      cluster.SubmitJob(job, @"xxx\xxxx", null);
    These are fairly independent tasks however they use the same file to write the log into. I assume in that case they should be started independently and fail . ALl my tasks are run in the same node(head node) when no request nodes are given. When some request nodes are given including the head node the tasks run on the head node again. Kinldy let me know where I am going wrong.

    Thanks
    raj

    • Bearbeitet natrah_nit Mittwoch, 23. Juli 2008 17:40 security
    •  

Alle Antworten

  • Montag, 28. Juli 2008 20:47
    Moderator
     
     Beantwortet
    Can you confirm that your other nodes are all in the Online state?

    Just post the output from "Node List" or "Get-HpcNode".

    Thanks,
    Josh
    -Josh