<?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: INPUTFILE READ FAIL in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896682#M79799</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/336209"&gt;Steve Lionel (Intel)&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;Ok, thanks - I can get the file now. But the source you posted initially is incomplete. I need the declarations of the variables used in the READ statements.&lt;BR /&gt;&lt;BR /&gt;Also, which statement gets the error and what is the exact and complete text of the error message?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Error&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;&amp;gt;modsim.exe!INDATA(LOGICAL(4) &lt;SPAN style="background-color: #ff0000;"&gt;BLDSHL=.FALSE., &lt;/SPAN&gt;INTEGER(4) ISPOS={...}, INTEGER(4) ISSHEL=5832334, INTEGER(4) ISVIEW=60030428, INTEGER(4) NSTVEC=60030520, REAL(4) TMAX=3600.000, REAL(4) TSTOP=36000.00, LOGICAL(4) &lt;SPAN style="background-color: #ff0000;"&gt;VIEW=.FALSE.,&lt;/SPAN&gt; LOGICAL(4) &lt;SPAN style="background-color: #ff0000;"&gt;INTSHL=.FALSE.,&lt;/SPAN&gt; INTEGER(4) MOUT=2236216) Line 283 + 0x51 bytesFortran&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;STRONG&gt;LOGICAL BLDSHL,INTSHL,VIEW,FRZ ! changed 1/16/97&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CHARACTER ANSWER*1,LBLS(MAXLBL)*4&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;The value of BLDSHL is FALSE always, so I think there might be something wrong there, besides, the first line of the time might cause the problem too, my guess. Problem is that it works in Compa, it might can work here.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Feb 2009 21:14:24 GMT</pubDate>
    <dc:creator>iwillflyhighergmail_</dc:creator>
    <dc:date>2009-02-24T21:14:24Z</dc:date>
    <item>
      <title>INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896676#M79793</link>
      <description>&lt;P&gt;Thanks a lot for the help. I compile this large HVACSIM+ project, however, when I compile this in Intel FORTRAN, it shows there is something wrong when try to read the input file. And Attched with the input file.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for the help.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;OPEN (2956,FILE="INPUTFILE.DAT",STATUS='UNKNOWN')&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) TMIN,TMAX,TSTOP&lt;/P&gt;
&lt;P&gt;TMAXT = TMAX&lt;/P&gt;
&lt;P&gt;c PRINT *,' Will the Initialization File be called? &lt;N&gt; '&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) ANSWER&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') &lt;STRONG&gt;THEN&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;INIT=1&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ENDIF&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;C Ask questions pertaining to all simulations&lt;/P&gt;
&lt;P&gt;C Open input and output files&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CALL&lt;/STRONG&gt; OPNFIL(BLDSHL)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;c PRINT *,' Do you want to use Reported Time for outputs &lt;N&gt;? '&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) ANSWER&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') &lt;STRONG&gt;THEN&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;MOUT=2&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ELSE&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;MOUT=1&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ENDIF&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;c PRINT *,' Do you wish to disable Freezing Variable feature &lt;N&gt;? '&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) ANSWER&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') &lt;STRONG&gt;THEN&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FRZ = .FALSE.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ELSE&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FRZ = .TRUE.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ENDIF&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2009 22:33:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896676#M79793</guid>
      <dc:creator>iwillflyhighergmail_</dc:creator>
      <dc:date>2009-02-23T22:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896677#M79794</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi,&lt;BR /&gt;This is the forum for Intel Parallel Studio, which supports only C/C++. You should submit any issues on Fortran compilation with Intel Fortran Compiler in the Fortran Forum at &lt;A href="http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/"&gt;http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/&lt;/A&gt; or for Linux at &lt;A href="http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/"&gt;http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/&lt;/A&gt; or you can file an issue in Premier Support if you are using the 11.0 version of the Intel Fortram Compiler.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need any further clarification. In the meantime, I'll let our Fortran Compiler support team know about this link you've posted in this forum, just FYI.&lt;BR /&gt;&lt;BR /&gt;-regards,&lt;BR /&gt;Kittur&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Feb 2009 23:23:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896677#M79794</guid>
      <dc:creator>KitturGanesh</dc:creator>
      <dc:date>2009-02-23T23:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896678#M79795</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/335278"&gt;Kittur Ganesh (Intel)&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;DIV style="margin:0px;"&gt;Thank you very much, that helps a lot, as I work a lot to make it work, but actually it didn't .&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Hi,&lt;BR /&gt;This is the forum for Intel Parallel Studio, which supports only C/C++. You should submit any issues on Fortran compilation with Intel Fortran Compiler in the Fortran Forum at &lt;A href="http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/"&gt;http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/&lt;/A&gt; or for Linux at &lt;A href="http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/"&gt;http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/&lt;/A&gt; or you can file an issue in Premier Support if you are using the 11.0 version of the Intel Fortram Compiler.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need any further clarification. In the meantime, I'll let our Fortran Compiler support team know about this link you've posted in this forum, just FYI.&lt;BR /&gt;&lt;BR /&gt;-regards,&lt;BR /&gt;Kittur&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 04:15:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896678#M79795</guid>
      <dc:creator>iwillflyhighergmail_</dc:creator>
      <dc:date>2009-02-24T04:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896679#M79796</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Would you please reattach the data file but in a ZIP archive instead? For some reason, the .DAT did not come through.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 16:24:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896679#M79796</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-02-24T16:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896680#M79797</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/336209"&gt;Steve Lionel (Intel)&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;Would you please reattach the data file but in a ZIP archive instead? For some reason, the .DAT did not come through.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thank you very much</description>
      <pubDate>Tue, 24 Feb 2009 20:02:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896680#M79797</guid>
      <dc:creator>iwillflyhighergmail_</dc:creator>
      <dc:date>2009-02-24T20:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896681#M79798</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Ok, thanks - I can get the file now. But the source you posted initially is incomplete. I need the declarations of the variables used in the READ statements.&lt;BR /&gt;&lt;BR /&gt;Also, which statement gets the error and what is the exact and complete text of the error message?&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 20:35:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896681#M79798</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-02-24T20:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896682#M79799</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/336209"&gt;Steve Lionel (Intel)&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;Ok, thanks - I can get the file now. But the source you posted initially is incomplete. I need the declarations of the variables used in the READ statements.&lt;BR /&gt;&lt;BR /&gt;Also, which statement gets the error and what is the exact and complete text of the error message?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Error&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;&amp;gt;modsim.exe!INDATA(LOGICAL(4) &lt;SPAN style="background-color: #ff0000;"&gt;BLDSHL=.FALSE., &lt;/SPAN&gt;INTEGER(4) ISPOS={...}, INTEGER(4) ISSHEL=5832334, INTEGER(4) ISVIEW=60030428, INTEGER(4) NSTVEC=60030520, REAL(4) TMAX=3600.000, REAL(4) TSTOP=36000.00, LOGICAL(4) &lt;SPAN style="background-color: #ff0000;"&gt;VIEW=.FALSE.,&lt;/SPAN&gt; LOGICAL(4) &lt;SPAN style="background-color: #ff0000;"&gt;INTSHL=.FALSE.,&lt;/SPAN&gt; INTEGER(4) MOUT=2236216) Line 283 + 0x51 bytesFortran&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;STRONG&gt;LOGICAL BLDSHL,INTSHL,VIEW,FRZ ! changed 1/16/97&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CHARACTER ANSWER*1,LBLS(MAXLBL)*4&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;The value of BLDSHL is FALSE always, so I think there might be something wrong there, besides, the first line of the time might cause the problem too, my guess. Problem is that it works in Compa, it might can work here.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2009 21:14:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896682#M79799</guid>
      <dc:creator>iwillflyhighergmail_</dc:creator>
      <dc:date>2009-02-24T21:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896683#M79800</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
You haven't said what the error is nor which statement gets the error. I do note that you have two reads of ANSWER but there is only one "n" before the lines beginning with SIMTEMP.dfn. Perhaps that routine you show a call of but no code for does more reads? What does it look like? Does it also use list-directed input to read character strings?&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 21:24:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896683#M79800</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-02-24T21:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896684#M79801</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/336209"&gt;Steve Lionel (Intel)&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;You haven't said what the error is nor which statement gets the error. I do note that you have two reads of ANSWER but there is only one "n" before the lines beginning with SIMTEMP.dfn. Perhaps that routine you show a call of but no code for does more reads? What does it look like? Does it also use list-directed input to read character strings?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Sorry, you said there are two reads of ANSWER, but I just see one, can you specify it? Thank you very much</description>
      <pubDate>Tue, 24 Feb 2009 21:35:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896684#M79801</guid>
      <dc:creator>iwillflyhighergmail_</dc:creator>
      <dc:date>2009-02-24T21:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896685#M79802</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;c PRINT *,' Will the Initialization File be called? &lt;N&gt; '&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN style="background-color: #ff0000;"&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) ANSWER&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') &lt;STRONG&gt;THEN&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;INIT=1&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ENDIF&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;C Ask questions pertaining to all simulations&lt;/P&gt;
&lt;P&gt;C Open input and output files&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CALL&lt;/STRONG&gt; OPNFIL(BLDSHL)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;c PRINT *,' Do you want to use Reported Time for outputs &lt;N&gt;? '&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background-color: #ff0000;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) ANSWER&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2009 02:19:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896685#M79802</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-02-25T02:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896686#M79803</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/336209"&gt;Steve Lionel (Intel)&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;
&lt;P&gt;c PRINT *,' Will the Initialization File be called? &lt;N&gt; '&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN style="background-color: #ff0000;"&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) ANSWER&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') &lt;STRONG&gt;THEN&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;INIT=1&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ENDIF&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;C Ask questions pertaining to all simulations&lt;/P&gt;
&lt;P&gt;C Open input and output files&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CALL&lt;/STRONG&gt; OPNFIL(BLDSHL)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;c PRINT *,' Do you want to use Reported Time for outputs &lt;N&gt;? '&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background-color: #ff0000;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;READ&lt;/STRONG&gt;(2956,*) ANSWER&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thank you very much, I just find the problem, two problem here, one is a logical problem, as there are 7 answer in the inputfile, however, I only need 6, the other is it can not read character if I just put n, when I change it into 'n' then it works now. &lt;BR /&gt;&lt;BR /&gt;Really appreciate for your help.</description>
      <pubDate>Wed, 25 Feb 2009 21:43:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896686#M79803</guid>
      <dc:creator>iwillflyhighergmail_</dc:creator>
      <dc:date>2009-02-25T21:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: INPUTFILE READ FAIL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896687#M79804</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I generally recommend against using list-directed input for non-delimited character data, but it does work. Can you show an example where it doesn't?&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 21:51:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/INPUTFILE-READ-FAIL/m-p/896687#M79804</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-02-25T21:51:49Z</dc:date>
    </item>
  </channel>
</rss>

