<?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: Runtime error 47 after conversion from CVF to IntelVF in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915437#M84145</link>
    <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;The current message I am now getting is:&lt;/P&gt;
&lt;P&gt;forrtl: severe (47): write to READONLY file, unit 4001, file c:SWAT Testworking dir largeautocal1.out&lt;/P&gt;
&lt;P&gt;I am stepping through the code from the point of just after the OPEN to see if something is changing the attributes.&lt;/P&gt;
&lt;P&gt;Pug&lt;/P&gt;</description>
    <pubDate>Fri, 29 Feb 2008 21:03:54 GMT</pubDate>
    <dc:creator>irpug</dc:creator>
    <dc:date>2008-02-29T21:03:54Z</dc:date>
    <item>
      <title>Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915431#M84139</link>
      <description>&lt;P&gt;I have been trying to nail down a problem with some legacy code that was originally compiled on Compaq Visual Fortran. I have tried many compiler options and code modifications, but it seems to be a .DLL issue. The source code is all *.F files and I am using Intel Visual Fortran and MS Visual Studio .NET 2005. The code compiles fine with no warnings or errors, but when I run the file it breaks on the following line:&lt;/P&gt;
&lt;P&gt;write (4000+inum1,2000) iyr, iida, ii-1, (varii(j), j = 1, 22)&lt;/P&gt;
&lt;P&gt;The open statement that is run previous to the write is:&lt;/P&gt;
&lt;P&gt;open (4000+inum1s(idum), file='autocal1.out', ACTION='READWRITE')&lt;/P&gt;
&lt;P&gt;note: inum1 = 1, and inum1s(idum) = 1&lt;/P&gt;
&lt;P&gt;The run-time errorI keep getting when executing from the console isas follows:&lt;/P&gt;
&lt;P&gt;forrtl: severe (47): write to READONLY file, unit 1112, file C:SWAT TestREVSIE&lt;BR /&gt;D NUTRIENTS Skalkaho phos calib Oct 2007fort.1112&lt;BR /&gt;Image PC Routine Line Source&lt;BR /&gt;myfile.exe 00A78376 Unknown Unknown Unknown&lt;BR /&gt;myfile.exe 00A75A49 Unknown Unknown Unknown&lt;BR /&gt;myfile.exe 009C0E36 Unknown Unknown Unknown&lt;BR /&gt;myfile.exe 009C096D Unknown Unknown Unknown&lt;BR /&gt;myfile.exe 009C87A4 Unknown Unknown Unknown&lt;BR /&gt;myfile.exe 004D7312 _READFILE.J 594 readfile.f&lt;BR /&gt;myfile.exe 00626228 _RERUN 87 rerun.f&lt;BR /&gt;myfile.exe 0042F7B9 _RERUNFILE 48 rerunfile.f&lt;BR /&gt;myfile.exe 008A169F _AUTOMET 55 automet.f&lt;BR /&gt;myfile.exe 00463D71 _MAIN__.J 128 main.f&lt;BR /&gt;myfile.exe 00A7EE55 Unknown Unknown Unknown&lt;BR /&gt;myfile.exe 00A1F223 Unknown Unknown Unknown&lt;BR /&gt;myfile.exe 0
0A1EFED Unknown Unknown Unknown&lt;BR /&gt;kernel32.dll 7C816FD7 Unknown Unknown Unknown&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The error I am getting when executing within the Visual Studio IDE is:&lt;/P&gt;&lt;FONT size="1"&gt;
&lt;P&gt;'myfile.exe': Loaded 'C:SWAT TestDevelopmentMy2005Myfile2005Debugmyfile.exe', Symbols loaded.&lt;/P&gt;
&lt;P&gt;'myfile.exe': Loaded 'C:WINNTsystem32
tdll.dll', No symbols loaded.&lt;/P&gt;
&lt;P&gt;'myfile.exe': Loaded 'C:WINNTsystem32kernel32.dll', No symbols loaded.&lt;/P&gt;
&lt;P&gt;'myfile.exe': Loaded 'C:WINNTsystem32imagehlp.dll', No symbols loaded.&lt;/P&gt;
&lt;P&gt;'myfile.exe': Loaded 'C:WINNTsystem32msvcrt.dll', No symbols loaded.&lt;/P&gt;
&lt;P&gt;'myfile.exe has triggered a breakpoint&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have checked the file that isattempted to bewritten to and it is not a readonly file. When I change: write (4000+inum1,2000) iyr, iida, ii-1, (varii(j), j = 1, 22) to: write (8001,2000) iyr, iida, ii-1, (varii(j), j = 1, 22), the file fort.8001 is written with the correct data. This leads me to believe it has something to do with the open statement, or some missing DLL's. &lt;/P&gt;
&lt;P&gt;We want to move to the Intel compilerifwe can get this to work, soany suggestions would be appreciated.&lt;/P&gt;
&lt;P&gt;Respectfully, Pug&lt;/P&gt;</description>
      <pubDate>Fri, 29 Feb 2008 16:48:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915431#M84139</guid>
      <dc:creator>irpug</dc:creator>
      <dc:date>2008-02-29T16:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915432#M84140</link>
      <description>What exact version of the compiler are you using? How many of these files does the program open?&lt;BR /&gt;&lt;BR /&gt;One thing to try - in the project properties, select Fortran &amp;gt; Data. Change the "Local variable storage" to "All variables SAVE" and rebuild.&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Feb 2008 16:58:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915432#M84140</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-02-29T16:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915433#M84141</link>
      <description>&lt;P&gt;Compiler version: 10.1&lt;/P&gt;
&lt;P&gt;The downloaded and installed compiler is: w_fc_p_10.1.011_novsppe.exe&lt;/P&gt;
&lt;P&gt;I have tried your suggestion but had the same result. In this instance the program is writing to 6 files, but it iterates through close and open statements (sample below):&lt;/P&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;close&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;(4000+inum1s(idum))&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;if&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; (inum1s(idum) &amp;lt;= 70 .and. inum1s(idum) &amp;gt; 0) &lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;then&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;open&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; (9000+inum1s(idum),file=auto_in,recl=350)&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;select case&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; (inum1s(idum))&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;case&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;(1)&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;open&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; (4000+inum1s(idum), file='autocal1.out', &lt;/FONT&gt;&lt;FONT color="#008000" size="2"&gt;&amp;amp;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ffffff" size="2"&gt;&amp;amp;&lt;/FONT&gt;&lt;FONT size="2"&gt; ACTION='READWRITE')&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;case&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;(2)&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;open&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; (4000+inum1s(idum), file='autocal2.out', &lt;/FONT&gt;&lt;FONT color="#008000" size="2"&gt;&amp;amp;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ffffff" size="2"&gt;&amp;amp;&lt;/FONT&gt;&lt;FONT size="2"&gt; ACTION='READWRITE') &lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;... etc&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;The compiler is set to optimize for maximum speed, triedIntel Pentium and Pentium 4, tried I/O Buferring Yes and No.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color="#ff0000" size="2"&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Feb 2008 17:14:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915433#M84141</guid>
      <dc:creator>irpug</dc:creator>
      <dc:date>2008-02-29T17:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915434#M84142</link>
      <description>Please try 10.1.019 and see what happens. If the problem is still there, please submit a test case to Intel Premier Support and we'll be glad to look at it.&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Feb 2008 18:25:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915434#M84142</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-02-29T18:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915435#M84143</link>
      <description>&lt;P&gt;Well, I downloaded and installed 10.1.019 (which is reported as: Intel Fortran Compiler Integration for Microsoft Visual Studio 2005, 10.1.4156.2005, Copyright (C) 2002-2008 Intel Corporation), recompiled all the modules, but the same results. &lt;/P&gt;
&lt;P&gt;I am wondering why I am getting the no symbols loaded for the 4 dll's (ntdll, kernel32,...)? I checked the C:WINNTsystem32 subdir and they are in there. &lt;/P&gt;
&lt;P&gt;Will experiment some more. Thanks for your quick responses. If there is something else you think I should try, let me know.&lt;/P&gt;
&lt;P&gt;Pug&lt;/P&gt;</description>
      <pubDate>Fri, 29 Feb 2008 19:23:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915435#M84143</guid>
      <dc:creator>irpug</dc:creator>
      <dc:date>2008-02-29T19:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915436#M84144</link>
      <description>Help &amp;gt; About in Visual Studio shows you the VS integration version, not the compiler version.&lt;BR /&gt;&lt;BR /&gt;The messages about no symbols loaded can be ignored. It's saying that there's no debug information for those system DLLs and that's of interest only if you want to debug those DLLs.&lt;BR /&gt;&lt;BR /&gt;I note that the error message names fort.1112 as the file name. This tells me that at the time the WRITE is done, that unit is not open, or maybe something else is at work. I note that the WRITE has 4000+inum1 as the unit number, so I doubt inum1 is 1 at that point! Something you may want to look at.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Feb 2008 20:30:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915436#M84144</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-02-29T20:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915437#M84145</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;The current message I am now getting is:&lt;/P&gt;
&lt;P&gt;forrtl: severe (47): write to READONLY file, unit 4001, file c:SWAT Testworking dir largeautocal1.out&lt;/P&gt;
&lt;P&gt;I am stepping through the code from the point of just after the OPEN to see if something is changing the attributes.&lt;/P&gt;
&lt;P&gt;Pug&lt;/P&gt;</description>
      <pubDate>Fri, 29 Feb 2008 21:03:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915437#M84145</guid>
      <dc:creator>irpug</dc:creator>
      <dc:date>2008-02-29T21:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915438#M84146</link>
      <description>Right click on the project, select Properties, Fortran, Command Line. Copy all of the text shown under All Options and paste it into a reply here.&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Feb 2008 21:37:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915438#M84146</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-02-29T21:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915439#M84147</link>
      <description>/nologo /Zi /G6 /assume:buffered_io /noinclude /gen-interfaces /warn:interfaces /Qsave /fpe:1 /Op /Qftz /iface:cvf /module:"Debug" /object:"Debug" /traceback /check:all /libs:static /threads /dbglibs /c</description>
      <pubDate>Fri, 29 Feb 2008 21:43:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915439#M84147</guid>
      <dc:creator>irpug</dc:creator>
      <dc:date>2008-02-29T21:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915440#M84148</link>
      <description>I don't see anything in those options to suggest an issue.&lt;BR /&gt;&lt;BR /&gt;Given the varying symptoms you've reported, I'd suggest you provide Intel Premier Support with the whole program and let us help you that way. I don't think it will get solved in this forum.&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Mar 2008 01:01:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915440#M84148</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-03-01T01:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915441#M84149</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;Everything seems okay now. It seems that even though I installed the later version of the compiler (10.1.019), the old version remains installed and Visual Studio keeps the previous version as the default. I had to go into ToolsIntel FortranCompilers to change the compiler to the new version and then recompile. After that the I/O problem went away.&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Pug&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2008 22:46:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915441#M84149</guid>
      <dc:creator>irpug</dc:creator>
      <dc:date>2008-03-03T22:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error 47 after conversion from CVF to IntelVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915442#M84150</link>
      <description>Yes, that's right. Not a behavior I am fond of... Glad to hear it worked out.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:55:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-47-after-conversion-from-CVF-to-IntelVF/m-p/915442#M84150</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-03-04T04:55:58Z</dc:date>
    </item>
  </channel>
</rss>

