<?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 The question I have is: does in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173514#M146654</link>
    <description>&lt;P&gt;The question I have is: does the standard state:&lt;/P&gt;

&lt;P&gt;[keywords] "module function" name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (quotes indicates unbroken words)&lt;/P&gt;

&lt;P&gt;and/or&lt;/P&gt;

&lt;P&gt;"module [keywords] function" name&lt;/P&gt;

&lt;P&gt;and/or&lt;/P&gt;

&lt;P&gt;[keywords] "module [keywords] function" name&lt;/P&gt;

&lt;P&gt;The IVF documentation (implies) "module function" (quotes indicates unbroken words).&lt;/P&gt;

&lt;P&gt;Do you have a link to the TV show? ;)&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2018 18:04:07 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2018-04-26T18:04:07Z</dc:date>
    <item>
      <title>recursive.mod problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173502#M146642</link>
      <description>&lt;P&gt;Dear All&lt;/P&gt;

&lt;P&gt;I have a library I am trying to port to ifort on MacOS, and about half way through, the following happens:&lt;/P&gt;

&lt;P&gt;
	&lt;STYLE type="text/css"&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #34bc26; background-color: #ffffff}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures; color: #000000}
span.s2 {font-variant-ligatures: no-common-ligatures}
	&lt;/STYLE&gt;
&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[ 47%] &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Building Fortran object CMakeFiles/common.dir/WR_RECORDER.f90.o&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[ 48%] &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Building Fortran object CMakeFiles/common.dir/WRITE_HTML_TEST.f90.o&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[ 48%] &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Building Fortran object CMakeFiles/common.dir/COMMON_MODS.f90.o&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[ 48%] &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Building Fortran object CMakeFiles/common.dir/SPECIAL_CONSTANTS_subm.f90.o&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;Error copying Fortran module "recursive".&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Tried "RECURSIVE.mod" and "recursive.mod".&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;make[2]: *** [CMakeFiles/common.dir/recursive.mod.stamp] Error 1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;make[1]: *** [CMakeFiles/common.dir/all] Error 2&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;make: *** [all] Error 2&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;The slight problem is that I have no idea what this Fortran module "recursive" is!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;On my Mac I am using CMake to create a make file which contains no reference to a recursive.mod.&amp;nbsp; I have no file called recursive.f90 or a module called recursive.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;I do use small number of recursive routines, and many of these seem to have compiled just fine.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;I have no idea what to do next, I am using&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;
	&lt;STYLE type="text/css"&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}
	&lt;/STYLE&gt;
&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ifort (IFORT) 17.0.5 20170817&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Norman&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:52:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173502#M146642</guid>
      <dc:creator>Norman_K_</dc:creator>
      <dc:date>2018-04-23T16:52:50Z</dc:date>
    </item>
    <item>
      <title>Sorry about the formatting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173503#M146643</link>
      <description>&lt;P&gt;Sorry about the formatting&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:57:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173503#M146643</guid>
      <dc:creator>Norman_K_</dc:creator>
      <dc:date>2018-04-23T16:57:50Z</dc:date>
    </item>
    <item>
      <title>Might be that for some reason</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173504#M146644</link>
      <description>&lt;P&gt;Might be that for some reason the module recursive failed to built, hence it could not be copied.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:58:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173504#M146644</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2018-04-23T16:58:28Z</dc:date>
    </item>
    <item>
      <title>Dear Juergen</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173505#M146645</link>
      <description>&lt;P&gt;Dear Juergen&lt;/P&gt;

&lt;P&gt;Thanks for the very prompt reply&lt;/P&gt;

&lt;P&gt;Is there a Fortran system module called "recursive", should I be telling Cmake where to find it, and where is it likely to be?&lt;/P&gt;

&lt;P&gt;N&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 17:17:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173505#M146645</guid>
      <dc:creator>Norman_K_</dc:creator>
      <dc:date>2018-04-23T17:17:50Z</dc:date>
    </item>
    <item>
      <title>No, there is no system module</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173506#M146646</link>
      <description>&lt;P&gt;No, there is no system module called recursive. Recursive must be the name of one of your modules in the library that you try to build.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 17:19:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173506#M146646</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2018-04-23T17:19:26Z</dc:date>
    </item>
    <item>
      <title>No I have no module by this</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173507#M146647</link>
      <description>&lt;P&gt;No I have no module by this name.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:06:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173507#M146647</guid>
      <dc:creator>Norman_K_</dc:creator>
      <dc:date>2018-04-23T18:06:56Z</dc:date>
    </item>
    <item>
      <title>The error message definitely</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173508#M146648</link>
      <description>&lt;P&gt;The error message definitely comes from the cmake build system. So at least this one believes there is a module named recursive. I think that the automatic assessment of your Fortran dependencies failed.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:18:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173508#M146648</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2018-04-23T18:18:19Z</dc:date>
    </item>
    <item>
      <title>If I can reproduce the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173509#M146649</link>
      <description>&lt;P&gt;If I can reproduce the problem in a smaller example I will submit it as a support request, but you are right, it may be Cmake struggling to understand the dependencies - interestingly there is no mention of a module called recursive.* in the output makefile.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;N&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 21:15:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173509#M146649</guid>
      <dc:creator>Norman_K_</dc:creator>
      <dc:date>2018-04-23T21:15:39Z</dc:date>
    </item>
    <item>
      <title>OK I have sorted this out:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173510#M146650</link>
      <description>&lt;P&gt;OK I have sorted this out:&lt;/P&gt;

&lt;P&gt;My code contained the statement (in the body of a submodule):&lt;/P&gt;

&lt;PRE class="brush:;"&gt;module recursive function blah(i)&lt;/PRE&gt;

&lt;P&gt;and this was generating the problem with a module called "recursive"&lt;/P&gt;

&lt;P&gt;In the Mac version, the problem goes away with a simple change to&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;recursive module function blah(i)&lt;/PRE&gt;

&lt;P&gt;Please note that both versions have the originally anticipated effect in the Windows version of the ifort compiler&lt;/P&gt;

&lt;P&gt;Please also note that the Mac version was quite happy with the interface declaring the function to be a module function and recursive in either order, the problem only arises in the submodule body.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 10:22:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173510#M146650</guid>
      <dc:creator>Norman_K_</dc:creator>
      <dc:date>2018-04-26T10:22:23Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173511#M146651</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;

&lt;P&gt;Can you comment on the Fortran standards as it related to post #9 (problem statement)?&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 15:55:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173511#M146651</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2018-04-26T15:55:35Z</dc:date>
    </item>
    <item>
      <title>Hi Jim -</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173512#M146652</link>
      <description>&lt;P&gt;Hi Jim -&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm not Steve, although I used to play him on TV sometimes ... :-)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Are you asking if the two declarations are considered, by the standard, to be the same?&amp;nbsp;&amp;nbsp; I would say "Yes'.&amp;nbsp; Procedures defined by subprograms (Chapter 15.6.2 in the F2018 draft) are allowed a number of keywords as a prefix, and the order is not mandated.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I thought the issue here was CMake, not ifort, am I misunderstanding?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --Lorri&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 17:07:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173512#M146652</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2018-04-26T17:07:22Z</dc:date>
    </item>
    <item>
      <title>Dear Lorri</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173513#M146653</link>
      <description>&lt;P&gt;Dear Lorri&lt;/P&gt;

&lt;P&gt;After a lot of investigation, it turned out that the problem is completely an ifort for Mac problem and has nothing to do with Cmake. ifort for Windows does not show this issue either.&lt;/P&gt;

&lt;P&gt;(I had originally suspected Cmake/make because of the message from ifort about a module called recursive, but this turns out to be ifort not understanding the statement described above. Juergen, in kindly trying to help, had sent me down what turned out to be a blind alley with a red herring at the end.)&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Norman&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 18:03:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173513#M146653</guid>
      <dc:creator>Norman_K_</dc:creator>
      <dc:date>2018-04-26T18:03:32Z</dc:date>
    </item>
    <item>
      <title>The question I have is: does</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173514#M146654</link>
      <description>&lt;P&gt;The question I have is: does the standard state:&lt;/P&gt;

&lt;P&gt;[keywords] "module function" name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (quotes indicates unbroken words)&lt;/P&gt;

&lt;P&gt;and/or&lt;/P&gt;

&lt;P&gt;"module [keywords] function" name&lt;/P&gt;

&lt;P&gt;and/or&lt;/P&gt;

&lt;P&gt;[keywords] "module [keywords] function" name&lt;/P&gt;

&lt;P&gt;The IVF documentation (implies) "module function" (quotes indicates unbroken words).&lt;/P&gt;

&lt;P&gt;Do you have a link to the TV show? ;)&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 18:04:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173514#M146654</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2018-04-26T18:04:07Z</dc:date>
    </item>
    <item>
      <title>"MODULE" is listed as one of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173515#M146655</link>
      <description>&lt;P&gt;"MODULE" is listed as one of the keywords, and the keywords are not ordered, so "recursive module" should be the same as "module recursive".&lt;/P&gt;

&lt;P&gt;Should be.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 19:27:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173515#M146655</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2018-04-26T19:27:57Z</dc:date>
    </item>
    <item>
      <title>Taken to extreme ...</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173516#M146656</link>
      <description>&lt;P&gt;Taken to extreme ...&lt;/P&gt;

&lt;P&gt;function real foo()&amp;nbsp;&amp;nbsp; (I know it is [prefix [prefix]] function foo() )&lt;BR /&gt;
	none implicit&lt;/P&gt;

&lt;P&gt;eh?&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 20:37:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173516#M146656</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2018-04-26T20:37:02Z</dc:date>
    </item>
    <item>
      <title>Yes, Lorri has often</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173517#M146657</link>
      <description>&lt;P&gt;Yes, Lorri has often performed as a double for me on TV. It's an uncanny resemblance, almost as good as Ed Wood Jr.'s wife's chiropractor filling in for Bela Lugosi in "Plan 9 from Outer Space."&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 21:59:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173517#M146657</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2018-04-26T21:59:37Z</dc:date>
    </item>
    <item>
      <title>Note I had a similar problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173518#M146658</link>
      <description>&lt;P&gt;Note I had a similar problem involving CMAKE and interfaces for recursive module functions on my Mac, but in this case the compiler was gfortran. From the symptoms I came to believe that the problem was not with gfortran (or fort for the poster), but rather with CMAKE. CMAKE has a crude Fortran parser in order to determine the module dependencies used to structure the Makefiles it creates. &amp;nbsp;In this case when it sees module starting a line it appears to think that the next word following module has to be the name of a module, and it sets up the makefiles expecting that the name.mod file will be generated. This worked until submodules were introduced in F2008, that in turn resulted in the use of module as a keyword in some interface blocks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 22:59:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/recursive-mod-problem/m-p/1173518#M146658</guid>
      <dc:creator>clodius__william</dc:creator>
      <dc:date>2018-04-27T22:59:18Z</dc:date>
    </item>
  </channel>
</rss>

