none
SMPD exe in service manager RRS feed

  • Question

  • Team,

    I'm developing an application using HPCServer MPI & 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.

    Regards,


    Prasenna

    Saturday, July 14, 2012 6:19 AM

All replies

  • 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;
                    mpiexec.Start();

    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...


    Prasenna

    Wednesday, July 18, 2012 9:12 AM
  • Hi,

    Just installing SDK is not enough, you need the whole HPC pack, aka Headnode & ComputeNodes.

    Michael

    Wednesday, July 18, 2012 6:34 PM