Resources for IT Professionals > Página Inicial dos Fóruns > Windows HPC Server Job Submission and Scheduling > Trace.Assert Performing As Expected When Run From The Cluster Manager
Fazer uma PerguntaFazer uma Pergunta
 

RespondidoTrace.Assert Performing As Expected When Run From The Cluster Manager

  • terça-feira, 16 de junho de 2009 18:19rmag Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    Trace.Assert doesn't work as expected when running as a job in cluster manager - Here's a VB.NET code sample that illustrates the problem:

     

        Sub Main(ByVal args() As String)

            Console.WriteLine("Before assert")

            Trace.Assert(False)

            Console.WriteLine("After assert")

        End Sub

     

    When logged directly into one of the HPC nodes, if you run the application it prints the first line to the console and then puts up a dialog as expected.  But if the application is run as a task in an HPC job, both lines are written to the console and the assert doesn't have any affect.  Is this behavior expected?

    • MovidoRae WangMSFT, Moderadorquinta-feira, 18 de junho de 2009 0:21 (From:Windows HPC Server Deployment, Management, and Administration)
    •  

Respostas

Todas as Respostas