<?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 Fortran and Shared Memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-and-shared-memory/m-p/3018629#M718798</link>
    <description>Hi everyone&lt;BR /&gt;&lt;BR /&gt;We have 2 programs - one in C and one in Fortran (F90) that access the same shared memory. The C prog creates it and the Fortran program accesses it. This works well on the HP9000 D Class HP-UX 11.00 E.&lt;BR /&gt;We moved the binaries to our new server - rp2470 HP9000 A Class HP-UX 11.00 U.&lt;BR /&gt;&lt;BR /&gt;This is what happens on the new server:&lt;BR /&gt;&lt;BR /&gt;1. The C program successfully creates the shared memory.&lt;BR /&gt;2. The Fortran program successfully attaches to it. But just as the Fortran program exits (the last line of the program) it releases the shared memory.&lt;BR /&gt;&lt;BR /&gt;This is obviously a problem because other programs need to use it.&lt;BR /&gt;&lt;BR /&gt;The biaries work well on the first server but the Fortran removes the shared memory on exit on the new server.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas why this is happening or what I could do to overcome it.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;PA&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Jul 2003 05:07:22 GMT</pubDate>
    <dc:creator>JUP</dc:creator>
    <dc:date>2003-07-09T05:07:22Z</dc:date>
    <item>
      <title>Fortran and Shared Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-and-shared-memory/m-p/3018629#M718798</link>
      <description>Hi everyone&lt;BR /&gt;&lt;BR /&gt;We have 2 programs - one in C and one in Fortran (F90) that access the same shared memory. The C prog creates it and the Fortran program accesses it. This works well on the HP9000 D Class HP-UX 11.00 E.&lt;BR /&gt;We moved the binaries to our new server - rp2470 HP9000 A Class HP-UX 11.00 U.&lt;BR /&gt;&lt;BR /&gt;This is what happens on the new server:&lt;BR /&gt;&lt;BR /&gt;1. The C program successfully creates the shared memory.&lt;BR /&gt;2. The Fortran program successfully attaches to it. But just as the Fortran program exits (the last line of the program) it releases the shared memory.&lt;BR /&gt;&lt;BR /&gt;This is obviously a problem because other programs need to use it.&lt;BR /&gt;&lt;BR /&gt;The biaries work well on the first server but the Fortran removes the shared memory on exit on the new server.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas why this is happening or what I could do to overcome it.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;PA&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2003 05:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-and-shared-memory/m-p/3018629#M718798</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2003-07-09T05:07:22Z</dc:date>
    </item>
  </channel>
</rss>

