none
Canceling Of Jobs RRS feed

  • Question

  • Hi,
     
          I tried a small test job on our new Windows HPC 2008 Server. The job basically is a batch file which does ping 127.0.0.1 -n 1000 -w 1000 1>nul . The job went into the running state. Now after sometime I decided I wanted to cancel the job, I did a cancel in the Job management snapin , but the job still stays in the running state , and message column says, job canceled by the user. Also I had more similar jobs in the submitted state, meaning they were queued for later execution. To my astonishment I found that there is no way to cancel a submitted job! This is very wierd to me that a queued job cannot be canceled! Am I doing things in a wrong way ? Any ideas are welcome !


    /Dev
    Friday, February 13, 2009 10:15 AM

Answers

  • Hi Ronald,

        I've tried that, but since my job was stuck in the "Submitted" state, I kept getting a message saying "A job in the submitted state cannot be canceled". Probably leaving those jobs in the "Submitted" state wouldn't have caused any harm. I've reinstalled the HPC pack now and those jobs have been cleared. The document at http://resourcekit.windowshpc.net/MORE_INFO/Windows_HPC_Server_2008_Job_Scheduler.html however does not describe any state for a job called Submitted !

    Most likely my job went into a funny state due to some misconfiguration on my part.

    /Dev

    Tuesday, February 17, 2009 9:02 AM

All replies

  • Hi Petaflop,

    Here's some information that might be helpful:  Cancel a Job or Task (http://technet.microsoft.com/en-us/library/cc972870.aspx).

    Cheers,
    RL  
    Friday, February 13, 2009 8:24 PM
  • Hi Ronald,

        I've tried that, but since my job was stuck in the "Submitted" state, I kept getting a message saying "A job in the submitted state cannot be canceled". Probably leaving those jobs in the "Submitted" state wouldn't have caused any harm. I've reinstalled the HPC pack now and those jobs have been cleared. The document at http://resourcekit.windowshpc.net/MORE_INFO/Windows_HPC_Server_2008_Job_Scheduler.html however does not describe any state for a job called Submitted !

    Most likely my job went into a funny state due to some misconfiguration on my part.

    /Dev

    Tuesday, February 17, 2009 9:02 AM