<?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 You are right: in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177809#M147939</link>
    <description>&lt;P&gt;You are right:&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;1&amp;gt;Compiling with Intel(R) Visual Fortran Compiler 19.0.3.203 [Intel(R) 64]...
1&amp;gt;nut.f90
1&amp;gt;Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0 Build 20180409
1&amp;gt;Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.
1&amp;gt;..\..\nut\include/nut/communicators.fmod(29): error #7012: The module file cannot be read.  Its format requires a more recent F90 compiler.   [MPI]
...&lt;/PRE&gt;

&lt;P&gt;For whatever reason, latest is interpreted as ifort 16.0. Only, if I set it explicitly to 19.3, that version is used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Ret.) (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I would rebuild with the project property Fortran &amp;gt; General &amp;gt; Suppress Startup Banner set to No and look at the build log to see which exact compiler is being used. The output you show simply identifies what was selected in VS, and if the path is wrong the incorrect compiler could be used.&lt;/P&gt;
&lt;P&gt;Why using Latest should be different from selecting 19.0.3, I don't know, but it's a place to start.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2019 15:15:12 GMT</pubDate>
    <dc:creator>Joachim_Herb</dc:creator>
    <dc:date>2019-03-28T15:15:12Z</dc:date>
    <item>
      <title>Intel MPI 2019.3.203 not working with Fortran in Visual Studio 2015 if Fortran version is set to "latest"</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177807#M147937</link>
      <description>&lt;P&gt;If I try to compile a Fortran file with "use mpi" and in the options of Visual Studio 2015 (14.0.25123.00 Update 2) the Intel compiler version is set to latest (with Intel Fortran 2019.2 installed), I get the following output:&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;1&amp;gt;------ Neues Erstellen gestartet: Projekt: nut, Konfiguration: Release x64 ------
1&amp;gt;Deleting intermediate files and output files for project 'nut', configuration 'Release|x64'.
1&amp;gt;Compiling with Intel(R) Visual Fortran Compiler 19.0.3.203 [Intel(R) 64]...
1&amp;gt;nut.f90
1&amp;gt;..\..\nut\include/nut/communicators.fmod(29): error #7012: The module file cannot be read.  Its format requires a more recent F90 compiler.   [MPI]
1&amp;gt;..\..\nut\include/nut/communicators.fmod(60): error #6404: This name does not have a type, and must have an explicit type.   [MPI_COMM_WORLD]&lt;/PRE&gt;

&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;If I set the compiler version explicitly to 2019.0.3.203, it is working.&lt;/P&gt;
&lt;P&gt;Does anybody else see this problem? What could cause it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 11:52:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177807#M147937</guid>
      <dc:creator>Joachim_Herb</dc:creator>
      <dc:date>2019-03-28T11:52:49Z</dc:date>
    </item>
    <item>
      <title>I would rebuild with the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177808#M147938</link>
      <description>&lt;P&gt;I would rebuild with the project property Fortran &amp;gt; General &amp;gt; Suppress Startup Banner set to No and look at the build log to see which exact compiler is being used. The output you show simply identifies what was selected in VS, and if the path is wrong the incorrect compiler could be used.&lt;/P&gt;&lt;P&gt;Why using Latest should be different from selecting 19.0.3, I don't know, but it's a place to start.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 14:19:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177808#M147938</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-03-28T14:19:09Z</dc:date>
    </item>
    <item>
      <title>You are right:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177809#M147939</link>
      <description>&lt;P&gt;You are right:&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;1&amp;gt;Compiling with Intel(R) Visual Fortran Compiler 19.0.3.203 [Intel(R) 64]...
1&amp;gt;nut.f90
1&amp;gt;Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0 Build 20180409
1&amp;gt;Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.
1&amp;gt;..\..\nut\include/nut/communicators.fmod(29): error #7012: The module file cannot be read.  Its format requires a more recent F90 compiler.   [MPI]
...&lt;/PRE&gt;

&lt;P&gt;For whatever reason, latest is interpreted as ifort 16.0. Only, if I set it explicitly to 19.3, that version is used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Ret.) (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I would rebuild with the project property Fortran &amp;gt; General &amp;gt; Suppress Startup Banner set to No and look at the build log to see which exact compiler is being used. The output you show simply identifies what was selected in VS, and if the path is wrong the incorrect compiler could be used.&lt;/P&gt;
&lt;P&gt;Why using Latest should be different from selecting 19.0.3, I don't know, but it's a place to start.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:15:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177809#M147939</guid>
      <dc:creator>Joachim_Herb</dc:creator>
      <dc:date>2019-03-28T15:15:12Z</dc:date>
    </item>
    <item>
      <title>In Visual Studio, go to the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177810#M147940</link>
      <description>&lt;P&gt;In Visual Studio, go to the compiler selection property page, with Latest selected, and click Reset... Make sure you do that for both Win32 and x64. Then try a build again.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:27:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177810#M147940</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-03-28T15:27:49Z</dc:date>
    </item>
    <item>
      <title>This also didn't help. But I</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177811#M147941</link>
      <description>&lt;P&gt;This also didn't help. But I can remember, that I installed first the update for ifort 19.3 and then for 16.5 (because I had missed that and 16.4 was installed only).&lt;/P&gt;&lt;P&gt;If I open the "..." subwindow (from the Intel Compiler settings in VS options) and then Macros, for "latest" the $(FortInstallDir) is c:\program files (x86)\intelswtools\compiler_and_libraries_2016\windows\&lt;/P&gt;&lt;P&gt;Where is the macro $(FortInstallDir) set?&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;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Ret.) (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Visual Studio, go to the compiler selection property page, with Latest selected, and click Reset... Make sure you do that for both Win32 and x64. Then try a build again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:44:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177811#M147941</guid>
      <dc:creator>Joachim_Herb</dc:creator>
      <dc:date>2019-03-28T15:44:00Z</dc:date>
    </item>
    <item>
      <title>In the registry editor under</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177812#M147942</link>
      <description>&lt;P&gt;In the registry editor under&amp;nbsp;HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Intel\Compilers\Fortran there are keys for each version you have installed, as well as a Latest. The version keys each have a subkey ProductDir. Under Latest, it has EM64T_NATIVE and IA32 subkeys, and under those are VSNetxx keys, and THOSE have a ProductDir key. My guess is that the 16.0 install messed up the Latest entries.&lt;/P&gt;&lt;P&gt;(Grumble - this mechanism offends me. Either Latest should just select the latest (highest version), or it should point to what it thinks is the latest entry. Duplicating definitions is just wrong-headed.)&lt;/P&gt;&lt;P&gt;I never noticed that Macros button! Very helpful!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 16:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177812#M147942</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2019-03-28T16:04:00Z</dc:date>
    </item>
    <item>
      <title>Thank you very much for your</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177813#M147943</link>
      <description>&lt;P&gt;Thank you very much for your help. Fixing the path in the registry fixed the problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Ret.) (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the registry editor under&amp;nbsp;HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Intel\Compilers\Fortran there are keys for each version you have installed, as well as a Latest. The version keys each have a subkey ProductDir. Under Latest, it has EM64T_NATIVE and IA32 subkeys, and under those are VSNetxx keys, and THOSE have a ProductDir key. My guess is that the 16.0 install messed up the Latest entries.&lt;/P&gt;&lt;P&gt;(Grumble - this mechanism offends me. Either Latest should just select the latest (highest version), or it should point to what it thinks is the latest entry. Duplicating definitions is just wrong-headed.)&lt;/P&gt;&lt;P&gt;I never noticed that Macros button! Very helpful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 16:16:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-MPI-2019-3-203-not-working-with-Fortran-in-Visual-Studio/m-p/1177813#M147943</guid>
      <dc:creator>Joachim_Herb</dc:creator>
      <dc:date>2019-03-28T16:16:16Z</dc:date>
    </item>
  </channel>
</rss>

