Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2275 토론

execvp error on file, The requested operation requires elevation.

Tansel_A_
초급자
3,677 조회수

Hi,
This is Tansel. I am not a direct MPI user. Someone from my team created an application using MPI, using a single batch file to run his executable on mpiexec.

The problem is, I need to integrate this into an automated system (written in Java) and my software will call this batch at some point. However, when I do, I get the following error: (batch file launches the software in the first line, [0+] are errors)
(Program runs fine if I run the batch file w/ double click or from any command line)

C:\Launcher>mpiexec -l -n 1 ../Program.exe some-parameters         : -n 1 ../Program.exe some-other-parameters         : -n 1 ../Program.exe paramters-again         : -n 1 ../Program.exe parameters-parameters         : -n 1 ../Program.exe awesome-parameters
 
[0] [-1:36280]ERROR:execvp error on file: ../Program.exe, The requested operation requires elevation.
[1] [-1:36280]ERROR:execvp error on file: ../Program.exe, The requested operation requires elevation.
[2] [-1:36280]ERROR:execvp error on file: ../Program.exe, The requested operation requires elevation.
[3] [-1:36280]ERROR:execvp error on file: ../Program.exe, The requested operation requires elevation.
[4] [-1:36280]ERROR:execvp error on file: ../Program.exe, The requested operation requires elevation.

Now, I get the notion that standard process builder in Java creates a subprocess, and mpiexec cannot create its subprocesses. I'm not sure if it is true, or regardless is there any solution.

I tried:
1) Running as admin, no dice
2) Run new process from new separate thread, no dice either
3) Call batch file as a Windows native application (with various different java libraries), no dice either

Thanks in advance.

0 포인트
1 솔루션
Artem_R_Intel1
3,677 조회수

Hi Tansel,

Is the batch file run in your automated system under any special user? If yes please check its permissions.

Another suggestion is to check firewall (if enabled) settings for your automated system.

원본 게시물의 솔루션 보기

0 포인트
2 응답
Artem_R_Intel1
3,678 조회수

Hi Tansel,

Is the batch file run in your automated system under any special user? If yes please check its permissions.

Another suggestion is to check firewall (if enabled) settings for your automated system.

0 포인트
Tansel_A_
초급자
3,677 조회수

Artem R. (Intel) wrote:

Hi Tansel,

Is the batch file run in your automated system under any special user? If yes please check its permissions.

Another suggestion is to check firewall (if enabled) settings for your automated system.

 

Hi Artem,

Thank you for your reply.

Turned out it was a user authentication problem. I checked all permissions, and noticed that each process and their subprocesses should have been under the same user. In fact, they were not. Sorting that out solved the problem for me. This might be useful for future users.

Regards, Tansel.

0 포인트
응답