Formular una preguntaFormular una pregunta
 

RespondidaHow to determine if running on a MS HPC headnode

  • jueves, 28 de mayo de 2009 14:44Krzysztof Szawala Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hi,

    I am developing a Python tool for submitting jobs (reservoir simulation case) to Microsoft Compute Cluster (CCS1 and HPC) or running directly on a Windows machine.
    The tool runs fine when submitting jobs with 'job submit' command, however user is also able to run an executable directly on a Windows machine and here the problem starts - I need to check if I am running on a headnode to pick up different executable (the one which uses MS MPI rather than MPI).

    In the past I was checkng for presence of CcsScheduler process running, but it doesn't seem to be the best approach since HPC renamed the process and my condition is no longer valid.

    I will appreciate any help.

    Thanks,
    Krzysztof

Respuestas

Todas las respuestas

  • jueves, 28 de mayo de 2009 19:10Josh BarnardMSFT, PropietarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    I believe the v2 scheduler process is HPCScheduler if that helps at all.  You can also try running cluscfg view (or from PSH Get-HpcClusterOverview) which will provide you the name of the scheduler you are connecting too . . . you can just compare that to the name of the machine you're currently running on.

    Thanks,
    Josh
    -Josh
  • viernes, 29 de mayo de 2009 8:48Krzysztof Szawala Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hi Josh,

    Thanks for reply.

    Another question emerges: 'is Cluster Name always the same as headnode machine's name?'.
    I have seen quite a few CCS/HPC clusters and in every case the cluster's and headnode's name were the same, however is it always the case?

    Regards,
    Krzysztof
  • miércoles, 24 de junio de 2009 22:06Don PatteeMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    Yep, we use the name of the head node to identify the cluster.