<?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: Common Block/Shareable Images in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943961#M17766</link>
    <description>Right - #2 needs to link against #1 (or they both need to link against a "#0") to all see the same memory.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Sat, 24 Mar 2001 07:22:38 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-03-24T07:22:38Z</dc:date>
    <item>
      <title>Common Block/Shareable Images</title>
      <link>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943958#M17763</link>
      <description>I have a common block that contains pointers to P2 space structures.  Routine umap in shareable image #1 maps and loads all the pointer values.  Routine uload in shareable image #2 loads and processes that data.  From a user program that is linked with both shareable images I call umap and uload.  If my main program includes the common block and then calls umap, upon return the pointer values are set.  However, when I call uload, uload doesn't know about them.  Am I missing a FORTRAN and/or LINKER option when doing this?  Is it possible to do this?</description>
      <pubDate>Sat, 24 Mar 2001 05:44:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943958#M17763</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-03-24T05:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Common Block/Shareable Images</title>
      <link>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943959#M17764</link>
      <description>To make this work, all three images need to agree on where the common block is defined.  My preference for this sort of thing is to separate out the common into a BLOCK DATA subprogram and link that as its own shareable image.  Then you would link the two other shareable images to the one with the common.  I think that umap isn't linking against a shareable image that defines the common.&lt;BR /&gt;&lt;BR /&gt;Be sure that you have set up your linker options file to specify the PSECT_ATTR directive that makes the common block "export" from the shareable image (and you have to change the NOSHR attribute to SHR throughout.  See the Fortran for OpenVMS User Manual for details.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 24 Mar 2001 06:02:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943959#M17764</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-03-24T06:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Common Block/Shareable Images</title>
      <link>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943960#M17765</link>
      <description>Finally found it.  If I add shareable image #1 to the linker option file for shareable image #2, the symbols will be available.</description>
      <pubDate>Sat, 24 Mar 2001 06:11:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943960#M17765</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-03-24T06:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Common Block/Shareable Images</title>
      <link>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943961#M17766</link>
      <description>Right - #2 needs to link against #1 (or they both need to link against a "#0") to all see the same memory.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 24 Mar 2001 07:22:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Common-Block-Shareable-Images/m-p/943961#M17766</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-03-24T07:22:38Z</dc:date>
    </item>
  </channel>
</rss>

