locked
How to detect HPC? RRS feed

  • Question

  • Hi, I hope this is the correct forum for the question, if not, please excuse me and redirect me to the appropriate place.
    I am building an installation package for our software, and I need to know how I can detect whether I am installing on a HPC/CCS machine. Unfortunately I do not have access to such a machine, hence the question here.
    I have already read the following: http://blogs.technet.com/windowshpc/archive/2007/04/06/how-to-detect-ccs.aspx but that seems to be only for CCS/CCP (i.e. the Server 2003 version).
    Does anyone know what to check for? Are there environment variables that are only set by HPC/CCS? Or registry settings/keys I can search for? I would prefer not to check for strings (i.e. names) as I want to keep it as generic as possible.
    Any help will be appreciated.
    Thanks,
    Johan
    Tuesday, April 28, 2009 9:03 AM

Answers

  • Hi Johan
    Withut going into the mega-detail included in the link in your original post, you might be able to use the following:

    For HPC Server 2008
    HKLM\SOFTWARE\Microsoft\HPC
    or if you decide you do want the cluster name:
    HKLM\SOFTWARE\Microsoft\HPC\Clustername

    Similarly, for 2003 CCS:
    HKLM\SOFTWARE\Microsoft\CCP
    or if you decide you do want the cluster name:
    HKLM\SOFTWARE\Microsoft\CCP\Clustername

    There are certainly other ways to do this programmatically, but that should give you something quick & easy to grab hold of.
    Cheers
    Dan

    • Proposed as answer by DanAdams Wednesday, April 29, 2009 1:16 PM
    • Marked as answer by parmita mehta Monday, May 4, 2009 8:30 PM
    Tuesday, April 28, 2009 4:36 PM

All replies

  • Hi Johan
    Withut going into the mega-detail included in the link in your original post, you might be able to use the following:

    For HPC Server 2008
    HKLM\SOFTWARE\Microsoft\HPC
    or if you decide you do want the cluster name:
    HKLM\SOFTWARE\Microsoft\HPC\Clustername

    Similarly, for 2003 CCS:
    HKLM\SOFTWARE\Microsoft\CCP
    or if you decide you do want the cluster name:
    HKLM\SOFTWARE\Microsoft\CCP\Clustername

    There are certainly other ways to do this programmatically, but that should give you something quick & easy to grab hold of.
    Cheers
    Dan

    • Proposed as answer by DanAdams Wednesday, April 29, 2009 1:16 PM
    • Marked as answer by parmita mehta Monday, May 4, 2009 8:30 PM
    Tuesday, April 28, 2009 4:36 PM
  • Thanks, Dan!
    Wednesday, April 29, 2009 9:35 AM