<?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 Setting Visual Studio for getting started with Intel MPI in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971042#M3288</link>
    <description>&lt;P&gt;I am trying to set up the mpi development on my computer (Windows 7).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I Installed the &lt;A href="http://software.intel.com/en-us/intel-cluster-studio-xe"&gt;Intel®&amp;nbsp;Cluster Studio&amp;nbsp;XE 2013&lt;/A&gt;&amp;nbsp;Evaluation version, and succeeded in building/running the test.f90 on the command line (Build Environment for Intel Cluster Studio XE 2013).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;But I am having a problem in using it on the Visual Studio 2010,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current Situation :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;smpd service is running,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The environmental variablePATH&amp;nbsp;is as shown below.&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2013\bin\ia32;C:\Program Files (x86)\Intel\MPI\4.1.0.023\em64t\bin;C:\Program Files (x86)\Intel\MPI\4.1.0.023\ia32\bin;%INTEL_DEV_REDIST%redist\intel64\mpirt;%INTEL_DEV_REDIST%redist\ia32\mpirt;%INTEL_DEV_REDIST%redist\intel64\compiler;%INTEL_DEV_REDIST%redist\ia32\compiler;C:\Program Files (x86)\Intel\Trace Analyzer and Collector\8.1.0.023\bin;C:\Program Files (x86)\Intel\icsxe\2013.0.028\bin;C:\Program Files (x86)\Intel\MPI\4.1.1.036\ia32\include;C:\Program Files (x86)\Intel\MPI\4.1.1.036\ia32\lib;C:\Program Files (x86)\Intel\ComposerXE-2011\bin\ia32;C:\Program Files (x86)\Tecplot\Tec360 2008\Bin;C:\Python25\;C:\usr\texlive\2011\bin\win32;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;As mentioned above, compiling/running the test on the command line (using the 'mpiifort' using the&amp;nbsp;"Cluster Studio XE 2013 for Windows OS Build Environment") &amp;nbsp;is done well. But When I try to build the same source using the Visual Studio, the errors are as below.&lt;/P&gt;
&lt;P&gt;Case 1. When I use "use mpi" statement,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;error #7002: Error in opening the compiled module file. &amp;nbsp;Check INCLUDE paths. &amp;nbsp; [MPI]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Case 2. When I use "include 'mpif.h'" statement,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;error #5102: Cannot open include file 'mpif.h'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Should I define the additional include path in the project to use the mpi library and include files?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2013 23:27:43 GMT</pubDate>
    <dc:creator>Jihoe_K_</dc:creator>
    <dc:date>2013-08-07T23:27:43Z</dc:date>
    <item>
      <title>Setting Visual Studio for getting started with Intel MPI</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971042#M3288</link>
      <description>&lt;P&gt;I am trying to set up the mpi development on my computer (Windows 7).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I Installed the &lt;A href="http://software.intel.com/en-us/intel-cluster-studio-xe"&gt;Intel®&amp;nbsp;Cluster Studio&amp;nbsp;XE 2013&lt;/A&gt;&amp;nbsp;Evaluation version, and succeeded in building/running the test.f90 on the command line (Build Environment for Intel Cluster Studio XE 2013).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;But I am having a problem in using it on the Visual Studio 2010,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current Situation :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;smpd service is running,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The environmental variablePATH&amp;nbsp;is as shown below.&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2013\bin\ia32;C:\Program Files (x86)\Intel\MPI\4.1.0.023\em64t\bin;C:\Program Files (x86)\Intel\MPI\4.1.0.023\ia32\bin;%INTEL_DEV_REDIST%redist\intel64\mpirt;%INTEL_DEV_REDIST%redist\ia32\mpirt;%INTEL_DEV_REDIST%redist\intel64\compiler;%INTEL_DEV_REDIST%redist\ia32\compiler;C:\Program Files (x86)\Intel\Trace Analyzer and Collector\8.1.0.023\bin;C:\Program Files (x86)\Intel\icsxe\2013.0.028\bin;C:\Program Files (x86)\Intel\MPI\4.1.1.036\ia32\include;C:\Program Files (x86)\Intel\MPI\4.1.1.036\ia32\lib;C:\Program Files (x86)\Intel\ComposerXE-2011\bin\ia32;C:\Program Files (x86)\Tecplot\Tec360 2008\Bin;C:\Python25\;C:\usr\texlive\2011\bin\win32;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;As mentioned above, compiling/running the test on the command line (using the 'mpiifort' using the&amp;nbsp;"Cluster Studio XE 2013 for Windows OS Build Environment") &amp;nbsp;is done well. But When I try to build the same source using the Visual Studio, the errors are as below.&lt;/P&gt;
&lt;P&gt;Case 1. When I use "use mpi" statement,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;error #7002: Error in opening the compiled module file. &amp;nbsp;Check INCLUDE paths. &amp;nbsp; [MPI]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Case 2. When I use "include 'mpif.h'" statement,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;error #5102: Cannot open include file 'mpif.h'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Should I define the additional include path in the project to use the mpi library and include files?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 23:27:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971042#M3288</guid>
      <dc:creator>Jihoe_K_</dc:creator>
      <dc:date>2013-08-07T23:27:43Z</dc:date>
    </item>
    <item>
      <title>I added include directory and</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971043#M3289</link>
      <description>&lt;P&gt;I added include directory and&amp;nbsp;lib directory paths in Additional Include Directories&amp;nbsp;Tab (Project Property -&amp;gt; Fortran&amp;nbsp;-&amp;gt; General),&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;the build went to further stage (Linking).&amp;nbsp; But&amp;nbsp;then warning and errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1&amp;gt;Linking...&lt;/P&gt;
&lt;P&gt;1&amp;gt;ipo: warning #11077: D:\sources\MPITest\MPITest\x64\Debug\MPITest.obj: locally defined symbol __imp_MPIFCMB5 imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;ipo: warning #11077: D:\sources\MPITest\MPITest\x64\Debug\MPITest.obj: locally defined symbol __imp_MPIPRIV1 imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;ipo: warning #11077: D:\sources\MPITest\MPITest\x64\Debug\MPITest.obj: locally defined symbol __imp_MPIPRIV2 imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;ipo: warning #11077: D:\sources\MPITest\MPITest\x64\Debug\MPITest.obj: locally defined symbol __imp_MPIPRIVC imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : warning LNK4049: locally defined symbol MPIFCMB5 imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : warning LNK4049: locally defined symbol MPIPRIV1 imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : warning LNK4049: locally defined symbol MPIPRIV2 imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : warning LNK4049: locally defined symbol MPIPRIVC imported&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : error LNK2019: unresolved external symbol MPI_INIT referenced in function MAIN__&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : error LNK2019: unresolved external symbol MPI_COMM_SIZE referenced in function MAIN__&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : error LNK2019: unresolved external symbol MPI_COMM_RANK referenced in function MAIN__&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : error LNK2019: unresolved external symbol MPI_GET_PROCESSOR_NAME referenced in function MAIN__&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : error LNK2019: unresolved external symbol MPI_RECV referenced in function MAIN__&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : error LNK2019: unresolved external symbol MPI_SEND referenced in function MAIN__&lt;/P&gt;
&lt;P&gt;1&amp;gt;MPITest.obj : error LNK2019: unresolved external symbol MPI_FINALIZE referenced in function MAIN__&lt;/P&gt;
&lt;P&gt;&amp;nbsp;1&amp;gt;x64\Debug\MPITest.exe : fatal error LNK1120: 7 unresolved externals&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason I guess is because the Studio uses ifort compiler directly without wrapping it with MPI as&amp;nbsp;when using&amp;nbsp;mpiifort.bat.&lt;/P&gt;
&lt;P&gt;Is there anyone to help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 02:25:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971043#M3289</guid>
      <dc:creator>Jihoe_K_</dc:creator>
      <dc:date>2013-08-08T02:25:59Z</dc:date>
    </item>
    <item>
      <title> I realize I missed one thing</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971044#M3290</link>
      <description>&lt;P&gt;&amp;nbsp;I realize I missed one thing (add impid.lib to additional dependency). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I can build it with VS2013, &amp;nbsp;But still there is a warning message with debug mode compilation in 64 bit.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;1&amp;gt;ipo: warning #11077: D:\sources\implicit_drag\PARALLELIZATION\PARALLEL1\x64\Debug\drag_force.obj: locally defined symbol __imp_MPIFCMB5 imported&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The error is not happening in Debug-32bit compile, &amp;nbsp;Release-32 bit compile , and Release-64bit compile.&lt;/P&gt;
&lt;P&gt;But it occurs in Debug-64bit compilation.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Can I just ignore this?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2013 09:12:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971044#M3290</guid>
      <dc:creator>Jihoe_K_</dc:creator>
      <dc:date>2013-08-09T09:12:41Z</dc:date>
    </item>
    <item>
      <title>I had the same link errors</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971045#M3291</link>
      <description>&lt;P&gt;I had the same link errors and adding in the impi library worked. I just wanted note that unlike most of the other libraries, the name of the debug version doesn't add a d, as you would expect. Instead the debug and release versions are in separate folders, which I'm guessing would fix the error in debug mode that you were having. For my Intel MPI distribution, I have these as&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.4.245\windows\mpi\intel64\lib\&lt;STRONG&gt;debug&lt;/STRONG&gt;\impi.lib&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.4.245\windows\mpi\intel64\lib\&lt;STRONG&gt;release&lt;/STRONG&gt;\impi.lib&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 17:11:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Setting-Visual-Studio-for-getting-started-with-Intel-MPI/m-p/971045#M3291</guid>
      <dc:creator>alaferg</dc:creator>
      <dc:date>2019-06-21T17:11:30Z</dc:date>
    </item>
  </channel>
</rss>

