<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic execvp error on file, The requested operation requires elevation. in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/execvp-error-on-file-The-requested-operation-requires-elevation/m-p/1111703#M5367</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;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.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;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)&lt;BR /&gt;
	(Program runs fine if I run the batch file w/ double click or from any command line)&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;C:\Launcher&amp;gt;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.&lt;/PRE&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;I tried:&lt;BR /&gt;
	1) Running as admin, no dice&lt;BR /&gt;
	2) Run new process from new separate thread, no dice either&lt;BR /&gt;
	3) Call batch file as a Windows native application (with various different java libraries), no dice either&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2016 10:03:23 GMT</pubDate>
    <dc:creator>Tansel_A_</dc:creator>
    <dc:date>2016-02-01T10:03:23Z</dc:date>
    <item>
      <title>execvp error on file, The requested operation requires elevation.</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/execvp-error-on-file-The-requested-operation-requires-elevation/m-p/1111703#M5367</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;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.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;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)&lt;BR /&gt;
	(Program runs fine if I run the batch file w/ double click or from any command line)&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;C:\Launcher&amp;gt;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.&lt;/PRE&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;I tried:&lt;BR /&gt;
	1) Running as admin, no dice&lt;BR /&gt;
	2) Run new process from new separate thread, no dice either&lt;BR /&gt;
	3) Call batch file as a Windows native application (with various different java libraries), no dice either&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 10:03:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/execvp-error-on-file-The-requested-operation-requires-elevation/m-p/1111703#M5367</guid>
      <dc:creator>Tansel_A_</dc:creator>
      <dc:date>2016-02-01T10:03:23Z</dc:date>
    </item>
    <item>
      <title>Hi Tansel,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/execvp-error-on-file-The-requested-operation-requires-elevation/m-p/1111704#M5368</link>
      <description>&lt;P&gt;Hi Tansel,&lt;/P&gt;

&lt;P&gt;Is the batch file run in your automated system under any special user? If yes please check its permissions.&lt;/P&gt;

&lt;P&gt;Another suggestion is to check firewall (if enabled) settings for your automated system.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:59:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/execvp-error-on-file-The-requested-operation-requires-elevation/m-p/1111704#M5368</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2016-02-01T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Quote:Artem R. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/execvp-error-on-file-The-requested-operation-requires-elevation/m-p/1111705#M5369</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Artem R. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Tansel,&lt;/P&gt;

&lt;P&gt;Is the batch file run in your automated system under any special user? If yes please check its permissions.&lt;/P&gt;

&lt;P&gt;Another suggestion is to check firewall (if enabled) settings for your automated system.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi Artem,&lt;/P&gt;

&lt;P&gt;Thank you for your reply.&lt;/P&gt;

&lt;P&gt;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.&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;This might be useful for future users.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Regards, Tansel.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 15:27:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/execvp-error-on-file-The-requested-operation-requires-elevation/m-p/1111705#M5369</guid>
      <dc:creator>Tansel_A_</dc:creator>
      <dc:date>2016-02-05T15:27:29Z</dc:date>
    </item>
  </channel>
</rss>

