[Windows] Failed to launch MPI apps by SYSTEM account

[Windows] Failed to launch MPI apps by SYSTEM account

Portrait de Seifer Lin

Hi All: I develop a service of windows for launching MPI app. The service launches the following command via CreateProcess(...) mpiexec.exe -localonly -n 4 MPIApp.exe My test machine is Windows XP Professional SP2 64bit The version of Intel MPI I use is 4.0 update 3 And I got the error message: init command received but no process group structure found to match it: pg <> [0] PMI_Init failed: FAIL - init command received but no process group structure fount to match it. Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(645): Initialization failed MPID_Init(134).......: channel initialization failed MPID_Init(430).......: PMI_Init returned -1 init command received but no process group structure found to match it: pg <> [0] PMI_Init failed: FAIL - init command received but no process group structure fount to match it. Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(645): Initialization failed MPID_Init(134).......: channel initialization failed MPID_Init(430).......: PMI_Init returned -1 init command received but no process group structure found to match it: pg <> [0] PMI_Init failed: FAIL - init command received but no process group structure fount to match it. Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(645): Initialization failed MPID_Init(134).......: channel initialization failed MPID_Init(430).......: PMI_Init returned -1 init command received but no process group structure found to match it: pg <> [0] PMI_Init failed: FAIL - init command received but no process group structure fount to match it. Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(645): Initialization failed MPID_Init(134).......: channel initialization failed MPID_Init(430).......: PMI_Init returned -1 But if I use regular user to open a cmd.exe and run the command line above, everything is ok. I open a cmd.exe with SYSTEM account privilege and run the command line above, and I got the same error message. The way to start a cmd.exe with SYSTEM account privilege on Windows XP is as the followings: (1)open a cmd.exe (2)type at 16:31 /interactive cmd.exe (3)Now at time 16:31, a new cmd.exe will pop up with SYSTEM account privilege (4)run commandline: mpiexec.exe -localonly -n 4 MPIApp.exe regards, Seifer

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de James Tullos (Intel)

Hi Seifer,

The error message you are receiving is saying that the MPI processes are unable to initialize. When you have the SYSTEM command prompt open, have you set up the MPI path variables and %I_MPI_ROOT%?

Also, my instinct tells me that you are trying to solve a problem in a very difficult manner. What exactly are you trying to do that needs an MPI job to be run as a system service?

Sincerely,
James Tullos
Technical Consulting Engineer
Intel Cluster Tools

Connectez-vous pour laisser un commentaire.