<?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 Thank you for your reply in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975731#M98365</link>
    <description>&lt;P&gt;Thank you for your reply&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;The compiler did not complain during compiling but there were error messages when I pressed DEBUG (F5):&lt;/P&gt;
&lt;P&gt;Block-Matrix.obj : error LNK2019: unresolved external symbol _MPI_INIT@4 referenced in function _MAIN__&lt;BR /&gt;Block-Matrix.obj : error LNK2019: unresolved external symbol _MPI_COMM_RANK@12 referenced in function _MAIN__&lt;BR /&gt;Block-Matrix.obj : error LNK2019: unresolved external symbol _MPI_COMM_SIZE@12 referenced in function _MAIN__&lt;/P&gt;
&lt;P&gt;Now I just want to make sure that these error messages do not appear.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Meng-Chieh&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2013 16:07:17 GMT</pubDate>
    <dc:creator>Ling_Meng-chieh</dc:creator>
    <dc:date>2013-03-19T16:07:17Z</dc:date>
    <item>
      <title>Problem with MPI</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975729#M98363</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Recently I am trying to put MPI package into my code but I meet some problems which might be related to environment setting and do not know how to solve it.&amp;nbsp;The MPI package I use is MS HPC Pack 2008 R2. The 3 errors are related to LNK2019.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code is like:&lt;/P&gt;
&lt;P&gt;Program MPI-Test&lt;/P&gt;
&lt;P&gt;Use MPI&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;call mpi_init(ierr)&lt;BR /&gt; &lt;BR /&gt; call mpi_comm_rank(mpi_comm_world, myid,ierr)&amp;nbsp;&lt;BR /&gt; call mpi_comm_size(mpi_comm_world, numprocs,ierr)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;End&lt;/P&gt;
&lt;P&gt;Environment setting:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Linker -&amp;gt; General&lt;/EM&gt; The folder that contains&amp;nbsp;msmpi.lib and msmpifec.lib&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Linker -&amp;gt; Input&lt;/EM&gt;&amp;nbsp;msmpi.lib msmpifec.lib&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Debuggin -&amp;gt; Action -&amp;gt; Command&lt;/EM&gt;&amp;nbsp;mpiexec.exe&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Fortran -&amp;gt; Libraries&lt;/EM&gt;&amp;nbsp;Multithread DLL (/libs:dll /threads)&lt;/P&gt;
&lt;P&gt;I know I should put something like &amp;nbsp;-n 4 $(TargetPath)&amp;nbsp;into&amp;nbsp;&lt;EM&gt;Debugging -&amp;gt; Action -&amp;gt; Command&lt;/EM&gt;&amp;nbsp;&lt;EM&gt;Argument&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;But what is&amp;nbsp;$(TargetPath)?&lt;/P&gt;
&lt;P&gt;Besides, is there anything else I miss such that compiler complained?&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Meng-Chieh&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 13:36:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975729#M98363</guid>
      <dc:creator>Ling_Meng-chieh</dc:creator>
      <dc:date>2013-03-19T13:36:30Z</dc:date>
    </item>
    <item>
      <title>Advice for 32-mode mode is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975730#M98364</link>
      <description>&lt;P&gt;Advice for 32-mode mode is posted here:&lt;/P&gt;
&lt;P&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;/P&gt;
&lt;P&gt;Strangely, the authors of that post indicated they couldn't get the 64-bit mode working, but you don't give enough detail on what you are trying.&lt;/P&gt;
&lt;P&gt;I'm not certain that you will find specific expertise on the Microsoft MPI release on this forum, or possibly on the companion Cluster &amp;amp; HPC forum which deals with Intel MPI.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 15:32:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975730#M98364</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-03-19T15:32:46Z</dc:date>
    </item>
    <item>
      <title>Thank you for your reply</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975731#M98365</link>
      <description>&lt;P&gt;Thank you for your reply&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;The compiler did not complain during compiling but there were error messages when I pressed DEBUG (F5):&lt;/P&gt;
&lt;P&gt;Block-Matrix.obj : error LNK2019: unresolved external symbol _MPI_INIT@4 referenced in function _MAIN__&lt;BR /&gt;Block-Matrix.obj : error LNK2019: unresolved external symbol _MPI_COMM_RANK@12 referenced in function _MAIN__&lt;BR /&gt;Block-Matrix.obj : error LNK2019: unresolved external symbol _MPI_COMM_SIZE@12 referenced in function _MAIN__&lt;/P&gt;
&lt;P&gt;Now I just want to make sure that these error messages do not appear.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Meng-Chieh&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 16:07:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975731#M98365</guid>
      <dc:creator>Ling_Meng-chieh</dc:creator>
      <dc:date>2013-03-19T16:07:17Z</dc:date>
    </item>
    <item>
      <title>This looks as if you may have</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975732#M98366</link>
      <description>&lt;P&gt;This looks as if you may have inconsistency between compile options and the ABI used by the MPI library.&lt;/P&gt;
&lt;P&gt;If you compiled with /iface:cvf (which may have been put there by an automatic conversion from CVF project) this would be incompatible with the usual cdecl ABI which I would expect to be used in the libraries.&lt;/P&gt;
&lt;P&gt;If this hint doesn't help you, you might attach a full build log here.&lt;/P&gt;
&lt;P&gt;You might be able to verify which ABI is used in the library by running dumpbin /symbols on the .lib files.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 17:15:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975732#M98366</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-03-19T17:15:56Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975733#M98367</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Now I see the problem. However, I compiled with /iface:cvf due to the NAG library. Is it possible to have these two libraries exist at the same time?&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Meng-Chieh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 07:42:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975733#M98367</guid>
      <dc:creator>Ling_Meng-chieh</dc:creator>
      <dc:date>2013-03-20T07:42:30Z</dc:date>
    </item>
    <item>
      <title>If you must use a library</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975734#M98368</link>
      <description>&lt;P&gt;If you must use a library which was built for CVF compatible calling sequence, you could decorate the calls with the&amp;nbsp; ATTRIBUTES CVF and achieve the same effect as /iface:cvf but limit it to just those calls.&lt;/P&gt;
&lt;P&gt;If you are using NAG library for functionality which is supported by ifort (e.g. in MKL) you should consider switching to the currently supported library.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 13:42:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-MPI/m-p/975734#M98368</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-03-20T13:42:19Z</dc:date>
    </item>
  </channel>
</rss>

