질문하기질문하기
 

답변됨Error message back to cmd.exe

  • 2008년 12월 15일 월요일 오후 2:41lincolnman 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    We have written an application that loads Excel and runs a macro and it runs on an HPC grid.  If the process fails for any reason, we would like for the "Failed Message" to show up in the Compute Cluster Job Manager screen.  Any idea how to have our application get this message returned to the Job Manager?  I see there is a cmd.exe the starts up our process on the server, but attempts to return messages to stdin, stdout and stderr were unsuccessful.  Returning a "-1" return code does make the job show up as failed in the Job Manager, but no message. 

답변

  • 2009년 6월 25일 목요일 오전 1:51Don PatteeMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Since there hasn't been any reply here I'm going to close the thread out. If there is a new question please start up a new thread and we'll take a look at it.

모든 응답

  • 2008년 12월 31일 수요일 오전 3:48Frankie Fenestra 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I need to know how you launch the job and it's task. It sounds like you are launching a job with a single task and want the error message returned somewhere. In general you need to provide both a /stdout and /stderr location for this imformation.

    I created just such a job and even though my ipconfig command generated an error the message was sent to stdout, not stderr and the job console did not show the message. Care to share the macro that launches the app?

    Let me know if this helps.

    Frankie

     

  • 2009년 6월 25일 목요일 오전 1:51Don PatteeMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Since there hasn't been any reply here I'm going to close the thread out. If there is a new question please start up a new thread and we'll take a look at it.