<?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: Strange error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756912#M12399</link>
    <description>One more thing. If that right_hand_side is a function, that explains your problem. Turn it into a subroutine.</description>
    <pubDate>Fri, 07 Mar 2003 03:32:55 GMT</pubDate>
    <dc:creator>sburger</dc:creator>
    <dc:date>2003-03-07T03:32:55Z</dc:date>
    <item>
      <title>Strange error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756910#M12397</link>
      <description>Hi,&lt;BR /&gt;I'm an ifc 7 non commercial edition user. I incurred in a strange *address error*. The error doesn't show up if I use the -g flag, otherwise it stops the execution of my program.&lt;BR /&gt;These are the steps I took untill now:&lt;BR /&gt;1) Compiled the program with Compaq F90 for Tru64 Unix: it works even with optimizations ('-O4 -tune host').&lt;BR /&gt;2) I upgraded the compiler to the latest available version (Build 20030212Z) but the error still shows up.&lt;BR /&gt;&lt;BR /&gt;The code is something like&lt;BR /&gt;&lt;BR /&gt;dwork((nloc+1):(2*nloc))=right_hand_side&lt;BR /&gt;... code that uses dwork&lt;BR /&gt;&lt;BR /&gt;If I change the code this way&lt;BR /&gt;&lt;BR /&gt;dwork((nloc+1):(2*nloc))=right_hand_side&lt;BR /&gt;write(*,*) dwork(nloc+1)&lt;BR /&gt;... code that uses dwork&lt;BR /&gt;&lt;BR /&gt;the error disappears. It appears that the compiler somehow doesn't finish to write dwork before using it, and adding the write statement forces the completion of the copy operation.&lt;BR /&gt;I run the compiler on a Gentoo box (gcc 3.2.2, glibc 2.3.1) (Pentium 4 2.0MHz). I tried the compiled, statically linked program on a  Xeon 2.4MHz RedHat 8 workstation I have access to as a user, and it didn't work (same error,works in debug mode). &lt;BR /&gt;&lt;BR /&gt;I could submit a bug report attaching my whole program, which is about 5000 lines of code along with instructions on how to compile it.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Mar 2003 05:03:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756910#M12397</guid>
      <dc:creator>arturodigioia</dc:creator>
      <dc:date>2003-03-05T05:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756911#M12398</link>
      <description>I get this all the time, and I feel like, wow am I stuck with this stupid print statement otherwise my code won't work. However it almost always turns out that there is some other array or file stream which isn't being handled properly and so has nothing to do with your array. Or other times it will happen if you define your array with  'allocatable,save'. Anyway, usually the problem is somewhere else besides this array so just keep debugging and don't fixate on the point where the problem crops up.</description>
      <pubDate>Fri, 07 Mar 2003 03:22:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756911#M12398</guid>
      <dc:creator>sburger</dc:creator>
      <dc:date>2003-03-07T03:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756912#M12399</link>
      <description>One more thing. If that right_hand_side is a function, that explains your problem. Turn it into a subroutine.</description>
      <pubDate>Fri, 07 Mar 2003 03:32:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756912#M12399</guid>
      <dc:creator>sburger</dc:creator>
      <dc:date>2003-03-07T03:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756913#M12400</link>
      <description>If you specify -g without specifying a -O optimization option, the compiler automatically disables optimization, so that may explain why the difference when you add -g.  Try it explicitly by using -O2 vs -O0.&lt;BR /&gt;&lt;BR /&gt;It's definitely worth submitting a problem report on this.  Just don't expect any immediate action or response.&lt;BR /&gt;&lt;BR /&gt;Brandon&lt;BR /&gt;Intel Developer Support&lt;BR /&gt;&lt;BR /&gt;For on-line assistance: &lt;A href="http://support.intel.com/support/performancetools" target="_blank"&gt;http://support.intel.com/support/performancetools&lt;/A&gt;&lt;BR /&gt;For product support information: &lt;A href="http://www.intel.com/software/products/support" target="_blank"&gt;http://www.intel.com/software/products/support&lt;/A&gt;&lt;BR /&gt;* Intel and Pentium are registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries&lt;BR /&gt;* Other names and brands may be claimed as the property of others&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 06:58:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756913#M12400</guid>
      <dc:creator>Brandon_H_Intel</dc:creator>
      <dc:date>2003-03-07T06:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756914#M12401</link>
      <description>Ok, I'll try some more debugging just to be sure it's not my fault.&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Arturo di Gioia</description>
      <pubDate>Fri, 07 Mar 2003 16:53:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Strange-error/m-p/756914#M12401</guid>
      <dc:creator>arturodigioia</dc:creator>
      <dc:date>2003-03-07T16:53:54Z</dc:date>
    </item>
  </channel>
</rss>

