SMPD exe in service manager RRS feed

  • Question

  • Team,

    I'm developing an application using Windows HPCServer 2008 SDK which i have downloaded from Microsoft site & I want to have .smpd as a service, I can very well access the exe through debug mode executing the following command in command prompt smpd -d. But, in real time scenario, i want to implement as a service.

    Please let me know, how shall I implement .smpd as service.



    Monday, July 16, 2012 3:32 PM

All replies

  • Hi,

    To get smpd as a service, I think you will have to install hpc pack on your nodes.

    Wednesday, July 18, 2012 12:24 AM
  • Thanks Michael, My Operating System is Windows Server 2008 R2 and I have installed Microsoft HPC 2008 SDK in all my nodes, and i could call the mpiexec which ships from the SDK from my code and parallelize the executables in multiple machines. 

    For that, I'm using the above code smpd -d for debugging purpose, I don't see an option for .smpd service to run in the service manager.

    But while in debug mode, I could kick-off well my executables in multiple machines.

    mpiexec = new Process();
                    ProcessStartInfo pinfo = new ProcessStartInfo(@"C:\Program Files\Microsoft HPC Pack 2008 SDK\Bin\mpiexec.exe");

                    pinfo.WindowStyle = ProcessWindowStyle.Hidden;
                    pinfo.WorkingDirectory = Environment.CurrentDirectory;
                    pinfo.UseShellExecute = false;
                    pinfo.RedirectStandardError = true;
                    pinfo.RedirectStandardOutput = true;
                    mpiexec.Exited += new EventHandler(mpiexec_Exited);
                    pinfo.Arguments = @" mpiexec -hosts 1 domain1.domain.com  " + "\"" + @"D:Sample.exe"  + "\"" +" C:\Config 125185180 1104573";
                    mpiexec.StartInfo = pinfo;

    For this code to execute, I run the smpd in debug mode, but in real time scenario, i need to have it in service manager.

    Any helps would be appreciated...


    Wednesday, July 18, 2012 9:12 AM