Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 930

execvp error on file, The requested operation requires elevation.

$
0
0

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.


Viewing all articles
Browse latest Browse all 930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>