<?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 length of array for IOMSG clause in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758211#M13698</link>
    <description>Hi,&lt;BR /&gt;I have done a search for IOMSG in the Intel Fortram manual 11.1 but there does not appear to be much information available other than stating it is a Fortran 2003 feature included in this release.&lt;BR /&gt;&lt;BR /&gt;There is no mention of theIOMSG specifier in the File Operation I/O Statements section.&lt;BR /&gt;Is this something that will be addressed in later versions of the manual?&lt;BR /&gt;&lt;BR /&gt;How does one determine the correct size of the character array passed as the IOMSG parameter?&lt;BR /&gt;&lt;BR /&gt;CHARACTER(&lt;WHAT should="" this="" be=""&gt;) :: msg&lt;BR /&gt;OPEN(......., IOMSG=msg)&lt;BR /&gt;&lt;BR /&gt;Isthe minimum length defined in the Fortran 2003 Standard or is it Compiler dependent?&lt;BR /&gt;Is there a way to query, at runtime,what the minimum length is?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mike&lt;BR /&gt;&lt;/WHAT&gt;</description>
    <pubDate>Fri, 21 Aug 2009 04:06:14 GMT</pubDate>
    <dc:creator>Mike_Rezny</dc:creator>
    <dc:date>2009-08-21T04:06:14Z</dc:date>
    <item>
      <title>length of array for IOMSG clause</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758211#M13698</link>
      <description>Hi,&lt;BR /&gt;I have done a search for IOMSG in the Intel Fortram manual 11.1 but there does not appear to be much information available other than stating it is a Fortran 2003 feature included in this release.&lt;BR /&gt;&lt;BR /&gt;There is no mention of theIOMSG specifier in the File Operation I/O Statements section.&lt;BR /&gt;Is this something that will be addressed in later versions of the manual?&lt;BR /&gt;&lt;BR /&gt;How does one determine the correct size of the character array passed as the IOMSG parameter?&lt;BR /&gt;&lt;BR /&gt;CHARACTER(&lt;WHAT should="" this="" be=""&gt;) :: msg&lt;BR /&gt;OPEN(......., IOMSG=msg)&lt;BR /&gt;&lt;BR /&gt;Isthe minimum length defined in the Fortran 2003 Standard or is it Compiler dependent?&lt;BR /&gt;Is there a way to query, at runtime,what the minimum length is?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mike&lt;BR /&gt;&lt;/WHAT&gt;</description>
      <pubDate>Fri, 21 Aug 2009 04:06:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758211#M13698</guid>
      <dc:creator>Mike_Rezny</dc:creator>
      <dc:date>2009-08-21T04:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: length of array for IOMSG clause</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758212#M13699</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
The Fortran standard is silent on the matter of the length, and there is no way to query a "minimum length". In our implementation, a length of 100 should suffice. Yes, we plan on documenting the F2003 features in a future version.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 12:37:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758212#M13699</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-08-21T12:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: length of array for IOMSG clause</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758213#M13700</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;If the IOMSG is a system message text string then the O/S may have a maximum message string size. As to what to use, this may depend on the O/S. 100 might be too small _MAX_PATH (260) might be safer. One buffer of _MAX_ENV (32767) might be safest.&lt;BR /&gt;&lt;BR /&gt;These are Windoz values, alter for Linux/Mac equivilents.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 15:08:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758213#M13700</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2009-08-21T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: length of array for IOMSG clause</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758214#M13701</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I believe that it is a string from the Intel Fortran message catalog and won't include system error text.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 15:13:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758214#M13701</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-08-21T15:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: length of array for IOMSG clause</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758215#M13702</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/99850"&gt;jimdempseyatthecove&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;If the IOMSG is a system message text string then the O/S may have a maximum message string size. As to what to use, this may depend on the O/S. 100 might be too small _MAX_PATH (260) might be safer. One buffer of _MAX_ENV (32767) might be safest.&lt;BR /&gt;&lt;BR /&gt;These are Windoz values, alter for Linux/Mac equivilents.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi Jim,&lt;BR /&gt;Thanks for this information.&lt;BR /&gt;I did a search of the Fortran manual and could find no reference to these two values.&lt;BR /&gt;&lt;BR /&gt;I tried printing out _MAX_PATH, _MAX_ENV, MAX_PATH, MAX_ENV in a small Fortran program (11.0.074)&lt;BR /&gt;but the compiler claims they are undeclared. Do I need to use a module or something else to get these values?&lt;BR /&gt;&lt;BR /&gt;I am using a Linux system. Does this make a difference?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mike</description>
      <pubDate>Sat, 22 Aug 2009 08:59:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758215#M13702</guid>
      <dc:creator>Mike_Rezny</dc:creator>
      <dc:date>2009-08-22T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: length of array for IOMSG clause</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758216#M13703</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Those are all Windows constants defined in Windows-only modules. There are no equivalent constants defined for Fortran on Linux. Just pick a number.&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Aug 2009 01:09:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/length-of-array-for-IOMSG-clause/m-p/758216#M13703</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-08-23T01:09:04Z</dc:date>
    </item>
  </channel>
</rss>

