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