<?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: passing function names in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813614#M44151</link>
    <description>&lt;DIV&gt;I thought that the subroutine name had been used because it was in the same file as the main program. Only when I put in the EXTERNAL declaration did the problem go away.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Jan 2005 05:43:58 GMT</pubDate>
    <dc:creator>dksteinman</dc:creator>
    <dc:date>2005-01-05T05:43:58Z</dc:date>
    <item>
      <title>passing function names</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813610#M44147</link>
      <description>&lt;DIV&gt;I am using "Numerical Recipes in Fortran" to solve a problem. The Levenberg-Marquart procedure calls for one to pass a subroutine name in a subroutine call. When I run the example program with the subroutine, "fgauss" it works fine. When I change the name of the routine to "fsumexp", the error message says "This actual arguement must be the name of a user subroutine or the name of an intrinsic subroutine" I have created a file with the subroutine name, it is in the workspace, and the subroutine compiled without a problem.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;this happened before and the only way of getting around it was to take all the code out of the origninal name, and fill in my own code. I don't believe this should be necessary.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Don&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jan 2005 05:38:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813610#M44147</guid>
      <dc:creator>dksteinman</dc:creator>
      <dc:date>2005-01-04T05:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: passing function names</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813611#M44148</link>
      <description>&lt;DIV&gt;Have you included the statement EXTERNAL FSUMEXP in the calling program/routine?&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jan 2005 06:06:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813611#M44148</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2005-01-04T06:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: passing function names</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813612#M44149</link>
      <description>If you are passing the name of the subroutine as a character string that you retrieved from a file, It&lt;BR /&gt;won't work. &lt;BR /&gt;&lt;BR /&gt;You have to specify the name of the subroutine as&lt;BR /&gt;it was defined to the compiler implicitely&lt;BR /&gt;by using it somewhere as a function or subroutine,&lt;BR /&gt;or by defining it with an EXTERNAL statement.&lt;BR /&gt;&lt;BR /&gt;sol</description>
      <pubDate>Tue, 04 Jan 2005 06:11:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813612#M44149</guid>
      <dc:creator>sgongola</dc:creator>
      <dc:date>2005-01-04T06:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: passing function names</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813613#M44150</link>
      <description>&lt;DIV&gt;thanks, that works&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Jan 2005 05:42:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813613#M44150</guid>
      <dc:creator>dksteinman</dc:creator>
      <dc:date>2005-01-05T05:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: passing function names</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813614#M44151</link>
      <description>&lt;DIV&gt;I thought that the subroutine name had been used because it was in the same file as the main program. Only when I put in the EXTERNAL declaration did the problem go away.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Jan 2005 05:43:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813614#M44151</guid>
      <dc:creator>dksteinman</dc:creator>
      <dc:date>2005-01-05T05:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: passing function names</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813615#M44152</link>
      <description>&lt;DIV&gt;Use of EXTERNAL only makes the interface implicit. If you want the interface to be explicit, with all the associated argument checking that goes along with an explicit interface as well as other "perks", then use the INTERFACE construct within the procedure that has the dummy argument procedure name.&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Jan 2005 22:44:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/passing-function-names/m-p/813615#M44152</guid>
      <dc:creator>blamm</dc:creator>
      <dc:date>2005-01-05T22:44:09Z</dc:date>
    </item>
  </channel>
</rss>

