<?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 Re: ifx does not honor INTENT(IN) check in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748754#M178896</link>
    <description>&lt;P&gt;I am using a standard VS Setup with Project Folder etc.. That is a generic error you see from time to time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2026 23:45:31 GMT</pubDate>
    <dc:creator>JohnNichols</dc:creator>
    <dc:date>2026-05-21T23:45:31Z</dc:date>
    <item>
      <title>ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748325#M178882</link>
      <description>&lt;P&gt;I believe that in the following code (built with ifx 2026.0.0 on Windows), the compiler should issue an error to indicate that the argument STAT_ARG does not have the proper INTENT.&lt;/P&gt;&lt;P&gt;The documentation for CO_BROADCAST indicates that the stat argument of that intrinsic subroutine has the INTENT(INOUT) attribute (which makes sense, of course). Here, the subroutine S declares STAT_ARG has having INTENT(IN) only. The compiler should catch this.&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;PROGRAM P
IMPLICIT NONE

INTEGER :: I[*], STAT
CALL S(I, STAT)

CONTAINS

SUBROUTINE S(I_ARG, STAT_ARG)
IMPLICIT NONE
INTEGER, INTENT(IN) :: I_ARG[*], STAT_ARG
CALL CO_BROADCAST (I_ARG, 1, STAT_ARG)    
END SUBROUTINE S

END PROGRAM P&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 May 2026 21:08:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748325#M178882</guid>
      <dc:creator>OP1</dc:creator>
      <dc:date>2026-05-18T21:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748417#M178883</link>
      <description>&lt;P&gt;If you look at the logic as a path, the path leads one way into S, then S calls cobroadcast and says I want a back answer&lt;/P&gt;&lt;P&gt;You get an answer and then throw it away.&amp;nbsp; That is ok you are allowed to write such code.&lt;/P&gt;&lt;P&gt;You have done nothing with the back answer, the compiler cannot tell your intent but it has done exactly what you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if the compiler signaled a warning that said what are you going to do after line 12, then I would be amazed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 14:00:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748417#M178883</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2026-05-19T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748426#M178885</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/88548"&gt;@OP1&lt;/a&gt;&amp;nbsp;that the compiler should diagnose this. An INTENT(IN) dummy is not allowed to be an actual argument corresponding to an INTENT(OUT) argument.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 14:40:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748426#M178885</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2026-05-19T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748485#M178888</link>
      <description>&lt;P&gt;Why not these is nothing wrong with passing only a value into S, you could use it in S.&amp;nbsp; But not pass it back, but you would need the compiler to make correct copies.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 23:07:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748485#M178888</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2026-05-19T23:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748628#M178890</link>
      <description>&lt;P&gt;The issue here is NOT the call to S, but rather the call to CO_BROADCAST. The STAT argument to CO_BROADCAST is INTENT(OUT), which specifies that the effective actual argument (STAT_ARG) &lt;STRONG&gt;will&lt;/STRONG&gt; become undefined on entry to the called procedure, but because STAT_ARG is INTENT(IN), that's not allowed. A compiler is not required to check this, but every Fortran compiler I know of, including Intel's, does (usually). This case shows unintended behavior of the compiler.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 21:16:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748628#M178890</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2026-05-20T21:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748638#M178891</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-05-20 184627.png" style="width: 732px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/72703iA846B67F9ECF5FC2/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2026-05-20 184627.png" alt="Screenshot 2026-05-20 184627.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I followed the Intel Method to set up co-arrays, it gave me a could not find impi.lib&lt;/P&gt;&lt;P&gt;I added the path for the library in the dependencies it did not work , I added it to path and got this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are not easy to set up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what I did wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 23:53:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748638#M178891</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2026-05-20T23:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748741#M178894</link>
      <description>&lt;P&gt;Well, one thing you're doing wrong is using the boot drive's root folder to do your builds - the compiler can't write an object to that. Do this from a writable folder elsewhere on the disk. I have a Projects folder I use for this purpose.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 21:08:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748741#M178894</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2026-05-21T21:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748754#M178896</link>
      <description>&lt;P&gt;I am using a standard VS Setup with Project Folder etc.. That is a generic error you see from time to time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 23:45:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748754#M178896</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2026-05-21T23:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748823#M178897</link>
      <description>&lt;P&gt;I'm just going by what minimal information you provided - the issue of the linker not finding the object because someone did the compile in a protected folder is one I have seen many times from users. I've never once seen a VS project do this when outside of the system folder tree. Given the error message explicitly says it is looking for the object in C:\, I continue to suspect a misconfiguration on your part.&lt;/P&gt;&lt;P&gt;How about attaching a zip of the buildlog.htm?&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2026 16:42:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748823#M178897</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2026-05-22T16:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748911#M178900</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-05-23 091548.jpg" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/72734iC4C5ABE3FD2179EA/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2026-05-23 091548.jpg" alt="Screenshot 2026-05-23 091548.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 14:25:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748911#M178900</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2026-05-23T14:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: ifx does not honor INTENT(IN) check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748915#M178901</link>
      <description>&lt;P&gt;The filespec of impi.lib is not quoted, so the CLI stops at the space in "C:\Program FIles". I don't know what put that in there.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 16:05:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-does-not-honor-INTENT-IN-check/m-p/1748915#M178901</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2026-05-23T16:05:00Z</dc:date>
    </item>
  </channel>
</rss>

