<?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 ?jacobi Fortran: fcn must be declared external? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/jacobi-Fortran-fcn-must-be-declared-external/m-p/1675865#M37002</link>
    <description>&lt;P&gt;According to the documentation for the Fortran version of ?jacobi the fcn argument must be declared as external:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2025-0/jacobi.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2025-0/jacobi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to avoid doing this because In my case fcn is a simple wrapper around a call to a module procedure which relies on internal state and declaring it as external would mess up the program structure more than I like. I tried compiling and running without declaring fcn as external (right now it is a subroutine I declare within the procedure calling djacobi). This seems to work without issue.&lt;/P&gt;&lt;P&gt;I would assume that if there is an issue with linking, I will get a linking error or a catastrophic runtime error. Since I do not get either of those, I would assume omitting the external keyword is fine in my case? Nevertheless, I am making this post to double check if I may be unknowingly creating unsafe behavior in this way and what exactly the reasoning is behind requiring a procedure to be declared as external as the documentation currently does.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2025 10:54:00 GMT</pubDate>
    <dc:creator>Stijn_Schildermans</dc:creator>
    <dc:date>2025-03-18T10:54:00Z</dc:date>
    <item>
      <title>?jacobi Fortran: fcn must be declared external?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/jacobi-Fortran-fcn-must-be-declared-external/m-p/1675865#M37002</link>
      <description>&lt;P&gt;According to the documentation for the Fortran version of ?jacobi the fcn argument must be declared as external:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2025-0/jacobi.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-fortran/2025-0/jacobi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to avoid doing this because In my case fcn is a simple wrapper around a call to a module procedure which relies on internal state and declaring it as external would mess up the program structure more than I like. I tried compiling and running without declaring fcn as external (right now it is a subroutine I declare within the procedure calling djacobi). This seems to work without issue.&lt;/P&gt;&lt;P&gt;I would assume that if there is an issue with linking, I will get a linking error or a catastrophic runtime error. Since I do not get either of those, I would assume omitting the external keyword is fine in my case? Nevertheless, I am making this post to double check if I may be unknowingly creating unsafe behavior in this way and what exactly the reasoning is behind requiring a procedure to be declared as external as the documentation currently does.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 10:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/jacobi-Fortran-fcn-must-be-declared-external/m-p/1675865#M37002</guid>
      <dc:creator>Stijn_Schildermans</dc:creator>
      <dc:date>2025-03-18T10:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: ?jacobi Fortran: fcn must be declared external?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/jacobi-Fortran-fcn-must-be-declared-external/m-p/1685198#M37089</link>
      <description>&lt;P&gt;Declaring the user-provided function as external is to pass it as an argument of djacobi. I also tried to declare it explicitly in an interface block. It works expected for the in-package example. I will report it to the team as a documentation issue. Thank you for pointing it out!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 20:25:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/jacobi-Fortran-fcn-must-be-declared-external/m-p/1685198#M37089</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2025-04-24T20:25:56Z</dc:date>
    </item>
  </channel>
</rss>

