<?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 Adapting legacy code in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Adapting-legacy-code/m-p/997787#M28851</link>
    <description>&lt;P&gt;I have a program written in FORTRAN 90. It sets up a block of memory as an array with a parameterized dimension in the main routine. This area is set as an integer vector. It is partitioned by various indices when this memory block is passed to subroutines. In the called routine the memory areas passed as dummy arguments are given discrete names. Often these names are of different kind than the storage array in the main routine. When compiling this setup, I get the infamous error 6633 concerning type disagreement. How does one overcome this problem. Is it necessary to discard the use of a memory block entirely or is there a work around possible? An Example is given below.&lt;/P&gt;

&lt;P&gt;Parameter (maxsiz = 80000)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;integer area(maxsize)&lt;/P&gt;

&lt;P&gt;call prog1(area(ix),area(iy),area(iz))&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In prog1:&lt;/P&gt;

&lt;P&gt;subroutine prog1(xx,yz,iqp)&lt;/P&gt;

&lt;P&gt;real*8 xx(*), yz(*)&lt;/P&gt;

&lt;P&gt;integer iz(*)&lt;/P&gt;

&lt;P&gt;I know that this was fairly standard in earlier versions of the language. How would it be4 handled now?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thansk in advance&lt;/P&gt;

&lt;P&gt;Joel G.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2015 23:03:38 GMT</pubDate>
    <dc:creator>Joel_G_2</dc:creator>
    <dc:date>2015-09-30T23:03:38Z</dc:date>
    <item>
      <title>Adapting legacy code</title>
      <link>https://community.intel.com/t5/Software-Archive/Adapting-legacy-code/m-p/997787#M28851</link>
      <description>&lt;P&gt;I have a program written in FORTRAN 90. It sets up a block of memory as an array with a parameterized dimension in the main routine. This area is set as an integer vector. It is partitioned by various indices when this memory block is passed to subroutines. In the called routine the memory areas passed as dummy arguments are given discrete names. Often these names are of different kind than the storage array in the main routine. When compiling this setup, I get the infamous error 6633 concerning type disagreement. How does one overcome this problem. Is it necessary to discard the use of a memory block entirely or is there a work around possible? An Example is given below.&lt;/P&gt;

&lt;P&gt;Parameter (maxsiz = 80000)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;integer area(maxsize)&lt;/P&gt;

&lt;P&gt;call prog1(area(ix),area(iy),area(iz))&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In prog1:&lt;/P&gt;

&lt;P&gt;subroutine prog1(xx,yz,iqp)&lt;/P&gt;

&lt;P&gt;real*8 xx(*), yz(*)&lt;/P&gt;

&lt;P&gt;integer iz(*)&lt;/P&gt;

&lt;P&gt;I know that this was fairly standard in earlier versions of the language. How would it be4 handled now?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thansk in advance&lt;/P&gt;

&lt;P&gt;Joel G.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 23:03:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Adapting-legacy-code/m-p/997787#M28851</guid>
      <dc:creator>Joel_G_2</dc:creator>
      <dc:date>2015-09-30T23:03:38Z</dc:date>
    </item>
    <item>
      <title>I think that you should have</title>
      <link>https://community.intel.com/t5/Software-Archive/Adapting-legacy-code/m-p/997788#M28852</link>
      <description>&lt;P&gt;I think that you should have posted your question on Intel Ifort forum. There are many knowledgeable members.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 07:34:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Adapting-legacy-code/m-p/997788#M28852</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2015-12-16T07:34:12Z</dc:date>
    </item>
  </channel>
</rss>

