<?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: Severe(48): Invalid argument to Fortran Run-Time Library in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751273#M7625</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Thank you for your work-arounds. I changed SHARE from 'DENYWR' to 'DENYRW' for all files I am opening in my application and the error 48 is gone. By the way, some other problems with opening files occured; I decided to create a new thread for that.&lt;/P&gt;
&lt;P&gt;I checked the documentation and it says that 'DENYWR' is one of the available options.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Nov 2008 20:33:40 GMT</pubDate>
    <dc:creator>jirina</dc:creator>
    <dc:date>2008-11-20T20:33:40Z</dc:date>
    <item>
      <title>Severe(48): Invalid argument to Fortran Run-Time Library</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751269#M7621</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have an application which tries to open a binary file. IOSTAT value returned by the OPEN function is 48 and help says that "The compiler passed an invalid or improperly coded argument to the Intel Fortran RTL. This can occur if the compiler is newer than the RTL in use."&lt;/P&gt;
&lt;P&gt;I am running Kubuntu 8.04 and using Intel Fortran Compiler 11.069 (1 month evaluation if this could matter).&lt;/P&gt;
&lt;P&gt;Is there any way of updating RTL to correspond to the compiler version? Or is there anything else I can try to make my application work?&lt;/P&gt;
&lt;P&gt;Thank you in advance for any suggestions and ideas.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2008 14:25:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751269#M7621</guid>
      <dc:creator>jirina</dc:creator>
      <dc:date>2008-11-19T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Severe(48): Invalid argument to Fortran Run-Time Library</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751270#M7622</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;The Intel Fortran RTLs are updated along with the compiler at the time of installation. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;If your working environment was initialized via either ifortvars.sh/ifortvars.csh and the complete application and any private libraries were recompiled/linked using the same 11.0.069 Fortran compiler, then it does not seem likely that you mixed RTLs from one Fortran release with another. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;Do you have another Intel Fortran compiler release installed besides 11.0.069?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;If this is reproducible using a small program, could you share the small program and Binary file with us via this post or Intel Premier &lt;A href="https://premier.intel.com/ " target="_blank"&gt;here&lt;/A&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2008 18:19:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751270#M7622</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-11-19T18:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Severe(48): Invalid argument to Fortran Run-Time Library</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751271#M7623</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;I was using 11.0.044 before, but I (hopefully successfully) uninstalled it before installing 11.0.069. Right now, there is only the version 11.0.069. How can I check whether the previous version was removed completely? The directory /opt/Intel was empty after uninstalling 11.0.044, but there might be a different location to be checked.&lt;/P&gt;
&lt;P&gt;I used ifortvars.sh to setup my environment.&lt;/P&gt;
&lt;P&gt;I created a small testing program:&lt;/P&gt;
&lt;P&gt;program iotest&lt;BR /&gt; &lt;BR /&gt; character*20 filename&lt;BR /&gt; integer*4 iunx, iocheck&lt;BR /&gt; &lt;BR /&gt; filename = 'ggri.d'&lt;BR /&gt; iunx = 9&lt;BR /&gt; &lt;BR /&gt; OPEN ( iunx, FILE=filename, ACCESS='DIRECT', STATUS='OLD',&lt;BR /&gt; + RECL=2000, IOSTAT=iocheck, SHARE='DENYWR' )&lt;BR /&gt; &lt;BR /&gt; if ( iunx.gt.0 ) then&lt;BR /&gt; write(*,'(a,i2)') ' IO Error during opening: ', iocheck&lt;BR /&gt; endif&lt;BR /&gt; &lt;BR /&gt; CLOSE ( iunx )&lt;BR /&gt; &lt;BR /&gt; end&lt;/P&gt;
&lt;P&gt;I compiled it in the following way:&lt;/P&gt;
&lt;P&gt;ifort -fixed -extend_source 132 -openmp -fpscomp general -warn declarations -assume byterecl -threads -align all -heap-arrays iotest.for -o iotest.out&lt;/P&gt;
&lt;P&gt;I ran iotest.out and the IO error is 48 again. I did not need to copy the file to the directory with the binary.&lt;/P&gt;
&lt;P&gt;What should be my next step? Thanks a lot for helping me.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2008 19:55:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751271#M7623</guid>
      <dc:creator>jirina</dc:creator>
      <dc:date>2008-11-19T19:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Severe(48): Invalid argument to Fortran Run-Time Library</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751272#M7624</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;If /opt/intel was empty before installing 11.0.069 then all components from the earlier Beta release were removed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;The error 48 is reproducible with your small test case. Thank you. The error occurs in relation to the &lt;STRONG style="mso-bidi-font-weight: normal;"&gt;DENYWR&lt;/STRONG&gt; mode specified for the &lt;STRONG style="mso-bidi-font-weight: normal;"&gt;SHARE&lt;/STRONG&gt; specifier. That appears not to be a valid mode on Linux but I need to confirm that with development.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;Some work-arounds would be:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;SPAN style="mso-list: Ignore;"&gt;&lt;SPAN style="font: 7pt " times="" new="" roman=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;use &lt;STRONG style="mso-bidi-font-weight: normal;"&gt;SHARE='DENYRW'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;SPAN style="mso-list: Ignore;"&gt;&lt;SPAN style="font: 7pt " times="" new="" roman=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;remove &lt;STRONG style="mso-bidi-font-weight: normal;"&gt;SHARE&lt;/STRONG&gt; and use &lt;STRONG style="mso-bidi-font-weight: normal;"&gt;ACTION='READ'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;SPAN style="mso-list: Ignore;"&gt;&lt;SPAN style="font: 7pt " times="" new="" roman=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;remove &lt;STRONG style="mso-bidi-font-weight: normal;"&gt;SHARE&lt;/STRONG&gt; and set explicit permissions on the file&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Verdana; mso-bidi-font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2008 16:19:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751272#M7624</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-11-20T16:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Severe(48): Invalid argument to Fortran Run-Time Library</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751273#M7625</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Thank you for your work-arounds. I changed SHARE from 'DENYWR' to 'DENYRW' for all files I am opening in my application and the error 48 is gone. By the way, some other problems with opening files occured; I decided to create a new thread for that.&lt;/P&gt;
&lt;P&gt;I checked the documentation and it says that 'DENYWR' is one of the available options.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2008 20:33:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Severe-48-Invalid-argument-to-Fortran-Run-Time-Library/m-p/751273#M7625</guid>
      <dc:creator>jirina</dc:creator>
      <dc:date>2008-11-20T20:33:40Z</dc:date>
    </item>
  </channel>
</rss>

