<?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 F90 compiler bug in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732502#M721865</link>
    <description>Hello,&lt;BR /&gt;I want to allocate and initialise in a subroutine a character??string array&lt;BR /&gt;defined as a dynamic array (pointer) in a module.&lt;BR /&gt;It works on Windows Digital FORTRAN, TRU64, IRIX64, Linux (IFC) and AIX FORTRAN,&lt;BR /&gt;but doesn't work on HP-UX FORTAN90.&lt;BR /&gt;If someone has an idea (enclose a short program as example)&lt;BR /&gt;I have submitted this program to comp.lang.fortran news and people have the&lt;BR /&gt;same conclusion I have&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Stephane&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 May 2002 10:43:35 GMT</pubDate>
    <dc:creator>glockner</dc:creator>
    <dc:date>2002-05-28T10:43:35Z</dc:date>
    <item>
      <title>F90 compiler bug</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732502#M721865</link>
      <description>Hello,&lt;BR /&gt;I want to allocate and initialise in a subroutine a character??string array&lt;BR /&gt;defined as a dynamic array (pointer) in a module.&lt;BR /&gt;It works on Windows Digital FORTRAN, TRU64, IRIX64, Linux (IFC) and AIX FORTRAN,&lt;BR /&gt;but doesn't work on HP-UX FORTAN90.&lt;BR /&gt;If someone has an idea (enclose a short program as example)&lt;BR /&gt;I have submitted this program to comp.lang.fortran news and people have the&lt;BR /&gt;same conclusion I have&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Stephane&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 May 2002 10:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732502#M721865</guid>
      <dc:creator>glockner</dc:creator>
      <dc:date>2002-05-28T10:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: F90 compiler bug</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732503#M721866</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Cannot open your added file&lt;BR /&gt;&lt;BR /&gt;However&lt;BR /&gt;&lt;BR /&gt;1)What OS revision&lt;BR /&gt;2)Compiler version&lt;BR /&gt;3)Last Fortran Patch loaded&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                 steve Steel</description>
      <pubDate>Tue, 28 May 2002 12:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732503#M721866</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-05-28T12:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: F90 compiler bug</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732504#M721867</link>
      <description>&lt;BR /&gt;Here is the result of command&lt;BR /&gt;what /opt:fortran90/bin/f90&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/opt/fortran90/bin/f90:&lt;BR /&gt;        HP-UX f90 19990722 (181103)  B3907DB/B3909DB B.10.20.16&lt;BR /&gt;        HP F90 v2.3&lt;BR /&gt;         /usr/lib/libc: $Revision: 76.3 $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and the program&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;!*********************************************&lt;BR /&gt; subroutine allocation(tab,kkk)&lt;BR /&gt;!*********************************************&lt;BR /&gt; implicit none&lt;BR /&gt; character(len=*), pointer, dimension(:) :: tab&lt;BR /&gt; integer :: kkk,ok&lt;BR /&gt;!---------------------------------------------&lt;BR /&gt; ok=-1&lt;BR /&gt;&lt;BR /&gt; print*,'allocation ?'&lt;BR /&gt; allocate (tab(kkk), stat=ok)&lt;BR /&gt; print*,'allocation reussie : ok=',ok&lt;BR /&gt;&lt;BR /&gt; print*,'initialisation ?'&lt;BR /&gt; TAB(:) = 'ok'&lt;BR /&gt; print*,'initialisation reussie'&lt;BR /&gt;&lt;BR /&gt;!---------------------------------------------&lt;BR /&gt; end subroutine allocation&lt;BR /&gt;!*********************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;!*********************************************&lt;BR /&gt; module comlec&lt;BR /&gt;!*********************************************&lt;BR /&gt;&lt;BR /&gt; integer, parameter :: L80=2&lt;BR /&gt; character(len=L80), pointer, dimension(:), save :: bdini&lt;BR /&gt;&lt;BR /&gt; end module comlec&lt;BR /&gt;!*********************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;!=============================================&lt;BR /&gt; program essai&lt;BR /&gt;!=============================================&lt;BR /&gt; use comlec&lt;BR /&gt; implicit none&lt;BR /&gt; integer, parameter :: n=4&lt;BR /&gt;!---------------------------------------------&lt;BR /&gt; interface&lt;BR /&gt;  subroutine allocation(tab,kkk)&lt;BR /&gt;   implicit none&lt;BR /&gt;   character(len=*), pointer, dimension(:) :: tab&lt;BR /&gt;   integer :: kkk&lt;BR /&gt;  end subroutine allocation&lt;BR /&gt; end interface&lt;BR /&gt;!---------------------------------------------&lt;BR /&gt;&lt;BR /&gt; call allocation(bdini,n)&lt;BR /&gt; print*,bdini&lt;BR /&gt;&lt;BR /&gt;!---------------------------------------------&lt;BR /&gt; end program essai&lt;BR /&gt;!=============================================&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 May 2002 13:22:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732504#M721867</guid>
      <dc:creator>glockner</dc:creator>
      <dc:date>2002-05-28T13:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: F90 compiler bug</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732505#M721868</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;1)You should get the latest 10.20 patch&lt;BR /&gt;&lt;BR /&gt;PHSS_20205&lt;BR /&gt;&lt;BR /&gt;2)You seem to be on 10.20 which is approaching end of support within a year so there is little chance of major compiler changes now&lt;BR /&gt;&lt;BR /&gt;So if you have a valid problem then you would be best to upgrade the OS and then log a&lt;BR /&gt;response centre call against the compiler.&lt;BR /&gt;&lt;BR /&gt;          Steve Steel</description>
      <pubDate>Tue, 28 May 2002 13:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732505#M721868</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-05-28T13:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: F90 compiler bug</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732506#M721869</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The sample code also fails with the latest&lt;BR /&gt;f90 compiler on hp-ux 11.00&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;</description>
      <pubDate>Tue, 28 May 2002 16:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732506#M721869</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-05-28T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: F90 compiler bug</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732507#M721870</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have solved the problem writting&lt;BR /&gt;NULLIFY(BDINI) before CALL ALLOCATION(BDINI,N).&lt;BR /&gt;&lt;BR /&gt;It is still not clear to me why it doesn't work without because&lt;BR /&gt;allocation was done successfully, SHAPE(BDINI) was ok and LEN(BDINI)&lt;BR /&gt;also.&lt;BR /&gt;&lt;BR /&gt;Stephane&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 May 2002 05:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/f90-compiler-bug/m-p/2732507#M721870</guid>
      <dc:creator>glockner</dc:creator>
      <dc:date>2002-05-30T05:46:24Z</dc:date>
    </item>
  </channel>
</rss>

