<?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 Errors with (CALL) statements in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764742#M19398</link>
    <description>Read &lt;A href="http://software.intel.com/en-us/articles/installing-and-using-the-imsl-libraries/"&gt;this &lt;/A&gt;first.&lt;BR /&gt;&lt;BR /&gt;Add the following lines to your main program:&lt;BR /&gt;&lt;BR /&gt;include 'link_fnl_static.h'&lt;BR /&gt;!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'&lt;BR /&gt;&lt;BR /&gt;If you are using fixed form source, be sure to start those in column 7 (the include, anyway).&lt;BR /&gt;&lt;BR /&gt;See if that helps.</description>
    <pubDate>Fri, 26 Aug 2011 23:37:47 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2011-08-26T23:37:47Z</dc:date>
    <item>
      <title>Errors with (CALL) statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764741#M19397</link>
      <description>Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;I'm new to this community and I'm seeking your help.&lt;BR /&gt;&lt;BR /&gt;I recently purchased a visual Fortran compiler professional version 11.1.072 with the IMSL library. &lt;BR /&gt;&lt;BR /&gt;Actually Im facing a difficulty in running one ofthecodes that was written in 1995. Im not able to establish a link between the program and the IMSL library which makes all call statements generate errors. I tried to establish that link by following all steps mentioned on the read me files and the help files as well but unfortunately it wasnt successful. &lt;BR /&gt;&lt;BR /&gt;Could anyone please help me or direct me to someone who can help. &lt;BR /&gt;&lt;BR /&gt;Ifrequested by anyone who canhelp, I cane-mail my source code to check the errors.&lt;BR /&gt;&lt;BR /&gt;Thank you so much &lt;BR /&gt;</description>
      <pubDate>Fri, 26 Aug 2011 22:24:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764741#M19397</guid>
      <dc:creator>phd_ottawa</dc:creator>
      <dc:date>2011-08-26T22:24:33Z</dc:date>
    </item>
    <item>
      <title>Errors with (CALL) statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764742#M19398</link>
      <description>Read &lt;A href="http://software.intel.com/en-us/articles/installing-and-using-the-imsl-libraries/"&gt;this &lt;/A&gt;first.&lt;BR /&gt;&lt;BR /&gt;Add the following lines to your main program:&lt;BR /&gt;&lt;BR /&gt;include 'link_fnl_static.h'&lt;BR /&gt;!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'&lt;BR /&gt;&lt;BR /&gt;If you are using fixed form source, be sure to start those in column 7 (the include, anyway).&lt;BR /&gt;&lt;BR /&gt;See if that helps.</description>
      <pubDate>Fri, 26 Aug 2011 23:37:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764742#M19398</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-08-26T23:37:47Z</dc:date>
    </item>
    <item>
      <title>Errors with (CALL) statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764743#M19399</link>
      <description>If the suggestions from Steve Lionel do not suffice to solve your problem, please post the source code using the Syntax Highlighter Tool for sources with a reasonably small number of lines, or attach the source code files (see the &lt;BR /&gt;&lt;BR /&gt;"&lt;A href="https://community.intel.com/../articles/how-to-attach-file-insert-code-into-forum-post/" target="_blank"&gt;Attaching or Including&lt;BR /&gt;Files in a Post&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;link at the top of this forum).&lt;BR /&gt;&lt;BR /&gt;We also need to know the specific error messages from the compiler, linker and IMSL or Fortran runtime, as appropriate.</description>
      <pubDate>Sat, 27 Aug 2011 07:00:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764743#M19399</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-08-27T07:00:59Z</dc:date>
    </item>
    <item>
      <title>Errors with (CALL) statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764744#M19400</link>
      <description>When I see "CALL" errors, my first thought is always the stricter evaluation of IVF compared to CVF. &lt;BR /&gt;&lt;BR /&gt;In IVF, you cannot CALL a routine that has been given a "prototype" that specifies a return value. You have to give each call a return value. So, instead of CALL SomeSub() you need DummyResult = SomeSub().&lt;BR /&gt;&lt;BR /&gt;Similarly, if you don't have a "prototype", you must use CALL. &lt;BR /&gt;&lt;BR /&gt;If this is your problem, they are easy to fix, because the compiler finds them for you. Just use the function prototype version, and create a dummy to return the result into. &lt;BR /&gt;&lt;BR /&gt;We had thousands of these errors, and we fixed them in a day or two. Also, the fixes are compatible with CVF, so we put all these fixes into the CVF baseline before we migrated. I have no issue at all with problems the compiler finds for you.</description>
      <pubDate>Sat, 27 Aug 2011 15:36:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764744#M19400</guid>
      <dc:creator>jeremy_h</dc:creator>
      <dc:date>2011-08-27T15:36:22Z</dc:date>
    </item>
    <item>
      <title>Errors with (CALL) statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764745#M19401</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi all&lt;BR /&gt;&lt;BR /&gt;Many thanks to all for your constructive replies.&lt;BR /&gt;&lt;BR /&gt;To Jeremy: Actually I wasn't able to get your suggestion about the usage of function prototype version to create a dummy to return the result into. As such I would be very apprecaitive if you sent me an example on how to use the mentioned function or alrenatively you can use my attached code for that purpose.&lt;BR /&gt;&lt;BR /&gt;To mecej4 the code you asked for is attached now. Please kindly try to help me out to solve the problem I described before. Note: the error is in the calling of the the U matrix as shown below&lt;BR /&gt;&lt;BR /&gt;Error 1  error #7983: The storage extent of the dummy argument exceeds that of the actual argument. &lt;U&gt; C:\Documents and Settings\TOC\Desktop\Robert SIMPSON\IASTSIM.FOR 1179 &lt;BR /&gt;Error 2  error #7983: The storage extent of the dummy argument exceeds that of the actual argument. &lt;U&gt; C:\Documents and Settings\TOC\Desktop\Robert SIMPSON\IASTSIM.FOR 1222 &lt;BR /&gt;Error 3  error #7983: The storage extent of the dummy argument exceeds that of the actual argument. &lt;U&gt; C:\Documents and Settings\TOC\Desktop\Robert SIMPSON\IASTSIM.FOR 1223 &lt;BR /&gt;Error 4  error #7983: The storage extent of the dummy argument exceeds that of the actual argument. &lt;U&gt; C:\Documents and Settings\TOC\Desktop\Robert SIMPSON\IASTSIM.FOR 1430 &lt;BR /&gt;Error 5 Compilation Aborted (code 1) C:\Documents and Settings\TOC\Desktop\Robert SIMPSON\IASTSIM.FOR 1 &lt;BR /&gt;Error 6  error #7983: The storage extent of the dummy argument exceeds that of the actual argument. &lt;U&gt; C:\Documents and Settings\TOC\Desktop\Robert SIMPSON\IASTSIM2.FOR 1083 &lt;BR /&gt;Error 7 Compilation Aborted (code 1) C:\Documents and Settings\TOC\Desktop\Robert SIMPSON\IASTSIM2.FOR 1 &lt;BR /&gt;&lt;BR /&gt;Deep Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/U&gt;</description>
      <pubDate>Mon, 12 Sep 2011 23:44:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764745#M19401</guid>
      <dc:creator>phd_ottawa</dc:creator>
      <dc:date>2011-09-12T23:44:06Z</dc:date>
    </item>
    <item>
      <title>Errors with (CALL) statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764746#M19402</link>
      <description>We need the Fortran source code (or at least the relevant parts); the solution file by itself is not helpful in tracking down source code errors.</description>
      <pubDate>Tue, 13 Sep 2011 01:56:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764746#M19402</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-13T01:56:48Z</dc:date>
    </item>
    <item>
      <title>Errors with (CALL) statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764747#M19403</link>
      <description>As you don't show the source code, my guess would be that you have done something like&lt;BR /&gt;cubroutine caller&lt;BR /&gt;real array(25)&lt;BR /&gt;call callee(array)&lt;BR /&gt;end&lt;BR /&gt;subroutine callee(array)&lt;BR /&gt;real array(100)&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;which could be translated to Fortran 77 (still valid although the standard terminology changed):&lt;BR /&gt;&lt;BR /&gt;subroutine callee(array)&lt;BR /&gt;real array(*)&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;or to Fortran 90:&lt;BR /&gt;module yourmod&lt;BR /&gt;subroutine callee(array)&lt;BR /&gt;
real array(:)&lt;BR /&gt;
end subroutine callee&lt;BR /&gt;end module yourmod&lt;BR /&gt;...&lt;BR /&gt;subroutine caller&lt;BR /&gt;use yourmod&lt;BR /&gt;......&lt;BR /&gt;&lt;BR /&gt;While your code doesn't comply with standards, it will probably work with the checking disabled, if the errors aren't a symptom of something more serious. &lt;BR /&gt;</description>
      <pubDate>Tue, 13 Sep 2011 11:35:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Errors-with-CALL-statements/m-p/764747#M19403</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-09-13T11:35:51Z</dc:date>
    </item>
  </channel>
</rss>

