<?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 Re: Calling MPI-based 64 bit exe Fortran program from DLL 32 bit Fortran program in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246261#M153850</link>
    <description>&lt;P&gt;I will guess that this is a PATH issue - that when you use RUNQQ or SYSTEM (there is a Fortran standard intrinsic EXECUTE_COMMAND_LINE you should use instead), you're getting "the wrong mpiexec".&amp;nbsp; Make sure that MS MPI is earlier in PATH than, say, Intel MPI (if you have that installed.)&lt;/P&gt;
&lt;P&gt;There's no issue with running a 64-bit EXE from a 32-bit DLL using one of these routines.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 13:45:43 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2021-01-14T13:45:43Z</dc:date>
    <item>
      <title>Calling MPI-based 64 bit exe Fortran program from DLL 32 bit Fortran program</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246051#M153846</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;From MS Access, I used to call a DLL Fortran program, which in turn calls an exe Fortran program using RUNQQ command. When the Access is 32 bit (2007) running on 64 bit PC using Win 7, I used to call a 32 bit DLL (built by MS PowerStation) and a 64 bit exe (built by Intel Visual Fortran). Both calls were successful even when the exe uses MS MPI. Now, I have Intel Parallel Studio and Win 10 64 bit, where calling exe is successful only when it does not use MS MPI. If it does, an error message is displayed for invalid rank. I discovered that the ‘np’ parameter of mpiexe run by RUNQQ is not identified. I tried SYSTEMQQ to run mpiexe by START but I receive the same error message. &lt;/P&gt;
&lt;P&gt;Any help.&lt;/P&gt;
&lt;P&gt;Said&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 00:51:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246051#M153846</guid>
      <dc:creator>El_Noshokaty__Said</dc:creator>
      <dc:date>2021-01-14T00:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calling MPI-based 64 bit exe Fortran program from DLL 32 bit Fortran program</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246261#M153850</link>
      <description>&lt;P&gt;I will guess that this is a PATH issue - that when you use RUNQQ or SYSTEM (there is a Fortran standard intrinsic EXECUTE_COMMAND_LINE you should use instead), you're getting "the wrong mpiexec".&amp;nbsp; Make sure that MS MPI is earlier in PATH than, say, Intel MPI (if you have that installed.)&lt;/P&gt;
&lt;P&gt;There's no issue with running a 64-bit EXE from a 32-bit DLL using one of these routines.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 13:45:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246261#M153850</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2021-01-14T13:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calling MPI-based 64 bit exe Fortran program from DLL 32 bit Fortran program</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246291#M153851</link>
      <description>&lt;P&gt;-np is not universal.&amp;nbsp; Some MPIs use -N or -n for number of ranks.&amp;nbsp; Open a terminal and get help from mpiexe&amp;nbsp;&amp;nbsp; like&amp;nbsp; mpiexe -help&amp;nbsp; or --help or -h OR look up documentation on your MPI.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 15:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246291#M153851</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2021-01-14T15:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calling MPI-based 64 bit exe Fortran program from DLL 32 bit Fortran program</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246409#M153852</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;So long. As usual, your guess is perfect. I have been in the Fortran programming since Fortran II in the 60's of last century . I feel proud you are here to support.&lt;/P&gt;
&lt;P&gt;Said&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 21:35:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246409#M153852</guid>
      <dc:creator>El_Noshokaty__Said</dc:creator>
      <dc:date>2021-01-14T21:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calling MPI-based 64 bit exe Fortran program from DLL 32 bit Fortran program</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246441#M153854</link>
      <description>&lt;P&gt;If my answer was correct, please mark this as the accepted answer, to help others. Glad to have been of help.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 23:41:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-MPI-based-64-bit-exe-Fortran-program-from-DLL-32-bit/m-p/1246441#M153854</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2021-01-14T23:41:51Z</dc:date>
    </item>
  </channel>
</rss>

