<?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   in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056506#M4462</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;1) What version of Intel MPI Library are you using?&lt;/P&gt;

&lt;P&gt;2) From a command-line session, what does the command "smpd -status" generate?&lt;/P&gt;

&lt;P&gt;3) For the diagnostic error messages:&lt;/P&gt;

&lt;P&gt;[-1:10644]ERROR:execvp error on file: C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe, The filename, directory name, or volume label syntax is incorrect.&lt;/P&gt;

&lt;P&gt;[-1:10644]ERROR:execvp error on file: C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe, The filename, directory name, or volume label syntax is incorrect.&lt;/P&gt;

&lt;P&gt;what happens when you issue the command:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe&amp;nbsp; ...&lt;/P&gt;

&lt;P&gt;outside&amp;nbsp;of using the "mpiexec" harness? Please note that "..." represents command-line options for the executable,&amp;nbsp;along with&amp;nbsp;appropriate input and output file names, if necessary.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;-Steve&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2015 19:34:00 GMT</pubDate>
    <dc:creator>Steve_H_Intel1</dc:creator>
    <dc:date>2015-08-20T19:34:00Z</dc:date>
    <item>
      <title>Debugging Fortran MPI codes in VS2012 and Intel MPI</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056504#M4460</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Before this I was using VS2008 with ifort 11 and MPICH.&lt;/P&gt;

&lt;P&gt;I folllowed the 1st mtd (by attaching to a currently running process (one VS window for all selected MPI processes))&amp;nbsp;from:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="http://wiki.rac.manchester.ac.uk/community/MPI/VisualStudio_mpich2_howto" target="_blank"&gt;http://wiki.rac.manchester.ac.uk/community/MPI/VisualStudio_mpich2_howto&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;It worked but fails for np &amp;gt;= 4. Seems to be MPICH problem.&lt;/P&gt;

&lt;P&gt;However, using the new setup, I can't get it to work, even with np = 1 or 2. Error is:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;[-1:10644]ERROR:execvp error on file: C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe, The filename, directory name, or volume label syntax is incorrect.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;[-1:10644]ERROR:execvp error on file: C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe, The filename, directory name, or volume label syntax is incorrect.&lt;/P&gt;

&lt;P&gt;Tried to solve this problem but the mtds do not work in my case.&lt;/P&gt;

&lt;P&gt;Is there any solution? Or is there a proper or better way to debug&amp;nbsp;Fortran MPI codes in VS2012 and Intel MPI?&lt;/P&gt;

&lt;P&gt;Btw, running thru command line works.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 03:10:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056504#M4460</guid>
      <dc:creator>Wee_Beng_T_</dc:creator>
      <dc:date>2015-08-19T03:10:40Z</dc:date>
    </item>
    <item>
      <title>Btw,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056505#M4461</link>
      <description>&lt;P&gt;Btw,&lt;/P&gt;

&lt;P&gt;I also got this error if I run my code using wmpiexec GUI:&lt;/P&gt;

&lt;P&gt;Error while connecting to host, No connection could be made because the target machine actively refused it. (10061)&lt;BR /&gt;
	Connect on sock (host=dell-work, port=8676) failed, exhaused all end points&lt;BR /&gt;
	Unable to connect to 'dell-work:8676',&lt;BR /&gt;
	sock error: Error = -1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 03:29:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056505#M4461</guid>
      <dc:creator>Wee_Beng_T_</dc:creator>
      <dc:date>2015-08-19T03:29:13Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056506#M4462</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;1) What version of Intel MPI Library are you using?&lt;/P&gt;

&lt;P&gt;2) From a command-line session, what does the command "smpd -status" generate?&lt;/P&gt;

&lt;P&gt;3) For the diagnostic error messages:&lt;/P&gt;

&lt;P&gt;[-1:10644]ERROR:execvp error on file: C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe, The filename, directory name, or volume label syntax is incorrect.&lt;/P&gt;

&lt;P&gt;[-1:10644]ERROR:execvp error on file: C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe, The filename, directory name, or volume label syntax is incorrect.&lt;/P&gt;

&lt;P&gt;what happens when you issue the command:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Obj_tmp\ibm3d_IIB_mpi\Debug\ibm3d_IIB_mpi_vs2012.exe&amp;nbsp; ...&lt;/P&gt;

&lt;P&gt;outside&amp;nbsp;of using the "mpiexec" harness? Please note that "..." represents command-line options for the executable,&amp;nbsp;along with&amp;nbsp;appropriate input and output file names, if necessary.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;-Steve&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2015 19:34:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056506#M4462</guid>
      <dc:creator>Steve_H_Intel1</dc:creator>
      <dc:date>2015-08-20T19:34:00Z</dc:date>
    </item>
    <item>
      <title>Hi Steve,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056507#M4463</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;

&lt;P&gt;I'm using ver 5 update 3 (5.0.3?)&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015&amp;gt;smpd -status&lt;BR /&gt;
	smpd running on dell-work&lt;/P&gt;

&lt;P&gt;I do not have any command line options. But my input file is in dir "C:\Obj_tmp\ibm3d_IIB_mpi" and the exe is in "C:\Obj_tmp\ibm3d_IIB_mpi\Debug".&lt;/P&gt;

&lt;P&gt;So I have to run inside the&amp;nbsp;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;dir "&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;C:\Obj_tmp\ibm3d_IIB_mpi" in order for it to read the input file, which gives&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; 0.000000000000000E+000 &amp;nbsp; 1.00000000000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.000000000000000E+000&lt;BR /&gt;
	&amp;nbsp; 0.000000000000000E+000 &amp;nbsp;0.000000000000000E+000 &amp;nbsp;0.250000000000000&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;1.00000000000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.400000000000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; -400000&lt;BR /&gt;
	&amp;nbsp;myid,jsta,jend,ksta,kend,ijk_sta,ijk_end &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 320&lt;BR /&gt;
	&amp;nbsp;myid,num_procs_xyz,start_ijk_ghost,width_ijk,end_ijk_ghost &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;BR /&gt;
	&amp;nbsp;body_cg_ini &amp;nbsp;0.253609021328458 &amp;nbsp; &amp;nbsp; &amp;nbsp;-1.443433881779463E-003&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;6.99946888939671&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1094 &amp;nbsp;surfaces with correct vertex ordering...&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;the correct output&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 01:11:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056507#M4463</guid>
      <dc:creator>Wee_Beng_T_</dc:creator>
      <dc:date>2015-08-21T01:11:18Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056508#M4464</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;BR /&gt;
	For your Visual Studio 2012 installation, does it have restrictions similar to what is documented at the URL:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://wiki.rac.manchester.ac.uk/community/MPI/VisualStudio_mpich2_howto"&gt;http://wiki.rac.manchester.ac.uk/community/MPI/VisualStudio_mpich2_howto&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;where it points out the following for&amp;nbsp;MS Visual Studio 2008 with Intel Visual Fortran 11.0.047 running mpich2:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;"For the 64 bit test system, care has to be taken regarding compatibility of components one wishes to use together. Given only a 32 bit Visual Studio (VS) 2008 is available for free to Univ of Manchester researchers, a 32 bit version of mpich2 is used. We downloaded the 32 bit Windows binary from the mpich2 web site. (Using 64 bit mpich2 gives link time errors.)". &lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If you have a version of Visual Studio 2012 that has similar restrictions to that of the Visual Studio 2008 package that is referenced above, then Intel MPI Library for Windows OS &lt;EM&gt;may not&amp;nbsp;work&lt;/EM&gt; properly within your Visual Studio 2012 environment.&lt;/P&gt;

&lt;P&gt;However, if you are working with a non-restricted version of Visual Studio 2012, then please follow the "Compiling and Linking" instructions referenced at the URL:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="https://community.intel.com/legacyfs/online/drupal_files/managed/af/09/User_Guide.pdf"&gt;https://software.intel.com/sites/default/files/managed/af/09/User_Guide.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The section&amp;nbsp;titled, "Debugging and Testing"&amp;nbsp;from &amp;nbsp;the above web-based documentation refers to the Intel® MPI Library support for the Message Queue Debugger functionality available in Microsoft* MPI Windows Debugger* Extension (MS-MPI v6 WinDbg Debugger* Extension and later).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&amp;gt;I also got this error if I run my code using wmpiexec GUI:&lt;BR /&gt;
	&amp;gt;&lt;BR /&gt;
	&amp;gt;&lt;BR /&gt;
	&amp;gt;Error while connecting to host, No connection could be made because the target machine actively refused it. (10061)&lt;BR /&gt;
	&amp;gt;Connect on sock (host=dell-work, port=8676) failed, exhaused all end points&lt;BR /&gt;
	&amp;gt;Unable to connect to 'dell-work:8676',&lt;BR /&gt;
	&amp;gt;sock error: Error = -1&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Regarding the "wmpiexec" GUI, for the destination server that you are trying to connect to, and using a "Command Prompt" window, please type the command:&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netstat -a | findstr LISTEN&lt;/P&gt;

&lt;P&gt;For the diagnostics generated, you want to look for the digit sequence 8676 on that system, and determine what&amp;nbsp;that port&amp;nbsp;is doing. Searching for the digit sequence 8676 is based on the diagnostic message "Unable to connect to 'dell-work:8676".&lt;/P&gt;

&lt;P&gt;Thank you,&lt;BR /&gt;
	&lt;BR /&gt;
	-Steve&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:50:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056508#M4464</guid>
      <dc:creator>Steve_H_Intel1</dc:creator>
      <dc:date>2015-08-21T20:50:50Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056509#M4465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the help Steve&lt;/P&gt;

&lt;P&gt;I finally found my problem. mpiexec by default runs the file&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;ibm3d_IIB_mpi_vs2012.exe but in my VS setup, the output file uses&amp;nbsp;ibm3d_IIB_mpi.exe, hence the error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;wmpiexec is also working now.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 06:19:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-Fortran-MPI-codes-in-VS2012-and-Intel-MPI/m-p/1056509#M4465</guid>
      <dc:creator>Wee_Beng_T_</dc:creator>
      <dc:date>2015-08-24T06:19:20Z</dc:date>
    </item>
  </channel>
</rss>

