[Windows] Failed to launch MPI apps by SYSTEM account

[Windows] Failed to launch MPI apps by SYSTEM account

Ritratto di 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.exeMy test machine is Windows XP Professional SP2 64bitThe version of Intel MPI I use is 4.0 update 3And 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 structurefount to match it.Fatal error in MPI_Init: Other MPI error, error stack:MPIR_Init_thread(645): Initialization failedMPID_Init(134).......: channel initialization failedMPID_Init(430).......: PMI_Init returned -1init command received but no process group structure found to match it: pg <>[0] PMI_Init failed: FAIL - init command received but no process group structurefount to match it.Fatal error in MPI_Init: Other MPI error, error stack:MPIR_Init_thread(645): Initialization failedMPID_Init(134).......: channel initialization failedMPID_Init(430).......: PMI_Init returned -1init command received but no process group structure found to match it: pg <>[0] PMI_Init failed: FAIL - init command received but no process group structurefount to match it.Fatal error in MPI_Init: Other MPI error, error stack:MPIR_Init_thread(645): Initialization failedMPID_Init(134).......: channel initialization failedMPID_Init(430).......: PMI_Init returned -1init command received but no process group structure found to match it: pg <>[0] PMI_Init failed: FAIL - init command received but no process group structurefount to match it.Fatal error in MPI_Init: Other MPI error, error stack:MPIR_Init_thread(645): Initialization failedMPID_Init(134).......: channel initialization failedMPID_Init(430).......: PMI_Init returned -1But 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 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di 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

Accedere per lasciare un commento.