<?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 Getting MPI to work with iface:cvf in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764879#M19483</link>
    <description>You can use !DEC$ ATTRIBUTES to specify all behaviors implied by /iface:cvf, and I encourage you to do so. Basically it's:&lt;BR /&gt;&lt;BR /&gt;!DEC$ ATTRIBUTES STDCALL,REFERENCE,MIXED_STR_LEN_ARG,DECORATE,ALIAS:"SUBNAME" :: subname</description>
    <pubDate>Tue, 14 Dec 2010 20:09:15 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2010-12-14T20:09:15Z</dc:date>
    <item>
      <title>Getting MPI to work with iface:cvf</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764878#M19482</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've compiled a dll with Intel MPI libs (Package ID: w_mpi_p_4.0.1.007, Package Contents: Intel MPI Library 
4.0 Update 1 for Windows* OS) and Intel Visual Fortran Compiler 
Professional for applications running on IA-32, Version 11.1 , Build 
20100806 Package ID: w_cprof_p_11.1.067.&lt;BR /&gt;&lt;BR /&gt;To get this to work, iface:cvf must be "off".&lt;BR /&gt;&lt;BR /&gt;However, I need to include the files generated from this compilation in the compilation of another dll which will not compile unless iface:cvf is active. This second dll is comprised of source files and object files provided by another company and I cannot change any of the compiler options they've told me to use or the second dll won't compile.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas on how I can get around this, I have to get it to work somehow?&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated!&lt;BR /&gt;&lt;BR /&gt;Cathleen</description>
      <pubDate>Tue, 14 Dec 2010 15:51:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764878#M19482</guid>
      <dc:creator>cathleenmcguiness</dc:creator>
      <dc:date>2010-12-14T15:51:39Z</dc:date>
    </item>
    <item>
      <title>Getting MPI to work with iface:cvf</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764879#M19483</link>
      <description>You can use !DEC$ ATTRIBUTES to specify all behaviors implied by /iface:cvf, and I encourage you to do so. Basically it's:&lt;BR /&gt;&lt;BR /&gt;!DEC$ ATTRIBUTES STDCALL,REFERENCE,MIXED_STR_LEN_ARG,DECORATE,ALIAS:"SUBNAME" :: subname</description>
      <pubDate>Tue, 14 Dec 2010 20:09:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764879#M19483</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-12-14T20:09:15Z</dc:date>
    </item>
    <item>
      <title>Getting MPI to work with iface:cvf</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764880#M19484</link>
      <description>Thanks for your help but I'm afraid that didn't work, I get the message&lt;BR /&gt;&lt;BR /&gt;error LNK2019: unresolved external symbol _DarsEsm@112 referenced in function &lt;BR /&gt;_ENGCOMBUSER EngCylinder_Combustion.obj &lt;BR /&gt;&lt;BR /&gt;where DarsEsm is my routine (that has all the attributes) and EngCylinder _Combustion is the external source file in which I'm trying to call DarsEsm.&lt;BR /&gt;&lt;BR /&gt;Any other ideas?&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2010 07:30:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764880#M19484</guid>
      <dc:creator>cathleenmcguiness</dc:creator>
      <dc:date>2010-12-15T07:30:28Z</dc:date>
    </item>
    <item>
      <title>Getting MPI to work with iface:cvf</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764881#M19485</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=502944" class="basic" href="https://community.intel.com/en-us/profile/502944/"&gt;cathleenmcguiness&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;Thanks for your help but I'm afraid that didn't work, I get the message&lt;BR /&gt;&lt;BR /&gt;error LNK2019: unresolved external symbol _DarsEsm@112 referenced in function &lt;BR /&gt;_ENGCOMBUSER EngCylinder_Combustion.obj &lt;BR /&gt;&lt;BR /&gt;where DarsEsm is my routine (that has all the attributes) and EngCylinder _Combustion is the external source file in which I'm trying to call DarsEsm.&lt;BR /&gt;&lt;BR /&gt;Any other ideas?&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ALIAS:"SUBNAME" must match the name as exported from the Dll. You can verify what you are actually exporting from the dll using DUMPBIN command-line tool, or better still, &lt;A href="http://www.dependencywalker.com"&gt;Dependency Walker&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you do not use the DECORATE+ALIAS in the dll, you don't need it in the caller either -- remove them from the inteface in the calling routine, and it should just work.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2010 08:08:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764881#M19485</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2010-12-15T08:08:41Z</dc:date>
    </item>
    <item>
      <title>Getting MPI to work with iface:cvf</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764882#M19486</link>
      <description>Okay, I had to move some stuff around and do a little dummy wrapper but it appears to run properly now.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 15 Dec 2010 14:21:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764882#M19486</guid>
      <dc:creator>cathleenmcguiness</dc:creator>
      <dc:date>2010-12-15T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Getting MPI to work with iface:cvf</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764883#M19487</link>
      <description>You do need DECORATE and ALIAS because STDCALL, by itself, downcases the routine name.</description>
      <pubDate>Wed, 15 Dec 2010 15:57:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Getting-MPI-to-work-with-iface-cvf/m-p/764883#M19487</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-12-15T15:57:25Z</dc:date>
    </item>
  </channel>
</rss>

