<?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 Error in code? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825170#M49783</link>
    <description>Thanks mecej4, I corrected this before. This still did no solve the problem I am having with not being able to write to the STATEV.txt file. Perhaps the problem is that there is nothing to write to the file, but I just do know about it. I will try write a simple programme to write to a file to test out the code.&lt;BR /&gt;&lt;PRE&gt;[bash] 101    FORMAT (F12.6)
        OPEN (UNIT=uSTATEV,
      1 FILE='STATEV.txt',
      2 STATUS='NEW') 
        WRITE (uSTATEV,101) STATEV(1)
        CLOSE (UNIT=uSTATEV)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[/bash]&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Sep 2011 13:40:10 GMT</pubDate>
    <dc:creator>mechprog</dc:creator>
    <dc:date>2011-09-28T13:40:10Z</dc:date>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825152#M49765</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I can not understand the error in the following code:&lt;BR /&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;CODE&lt;/STRONG&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt; IF&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;JRCD&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;NE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;THEN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: x-small;"&gt;&lt;SPAN style="color: #800080; font-size: x-small;"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;WRITE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;,*)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: x-small;"&gt;&lt;SPAN style="color: #ff00ff; font-size: x-small;"&gt;'REQUEST ERROR IN USDFLD FOR ELEMENT NUMBER '&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: x-small;"&gt;&lt;SPAN style="color: #800080; font-size: x-small;"&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt; NOEL&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: x-small;"&gt;&lt;SPAN style="color: #ff00ff; font-size: x-small;"&gt;'INTEGRATION POINT NUMBER '&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;NPT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I obtain the following error messages, but do not fully under it:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR MESSAGE&lt;/STRONG&gt;&lt;BR /&gt;cyclic_fatigue_B_Reduced.for(65) : Error: Syntax error, found IDENTIFIER 'WRITE' when expecting one of: &lt;END-OF-STATEMENT&gt; ;&lt;BR /&gt; 1 WRITE(6,*) 'REQUEST ERROR IN USDFLD FOR ELEMENT NUMBER ',&lt;BR /&gt;--------^&lt;BR /&gt;cyclic_fatigue_B_Reduced.for(65) : Error: Syntax error, found CHARACTER_CONSTANT 'REQUEST ERROR IN USDFLD FOR ELEMENT NUMBER ' when expecting one of: =&amp;gt; = . ( %&lt;BR /&gt; 1 WRITE(6,*) 'REQUEST ERROR IN USDFLD FOR ELEMENT NUMBER ',&lt;BR /&gt;-------------------^&lt;BR /&gt;cyclic_fatigue_B_Reduced.for(66) : Error: Syntax error, found END-OF-STATEMENT when expecting one of: :: , : )&lt;BR /&gt; 2 NOEL,'INTEGRATION POINT NUMBER ',NPT&lt;BR /&gt;------------------------------------------------^&lt;BR /&gt;&lt;BR /&gt;Any input would be much appreciated. Thanks.&lt;/END-OF-STATEMENT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 10:04:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825152#M49765</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-23T10:04:10Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825153#M49766</link>
      <description>The "1" in the second statement you have shown is probably in the sixth column (given&lt;BR /&gt;yesterday's discussion) so itcontinues the first line. But that is already complete.&lt;BR /&gt;&lt;BR /&gt;Remove that "1" and it will probably work.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
      <pubDate>Fri, 23 Sep 2011 10:07:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825153#M49766</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2011-09-23T10:07:57Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825154#M49767</link>
      <description>Thanks Arjen,&lt;BR /&gt;&lt;BR /&gt;I already had the column thing sorted in my code (I just copy and pasted the code on the OP which lost the formatting).&lt;BR /&gt;&lt;BR /&gt;Problem solved!&lt;BR /&gt;&lt;BR /&gt;Code changed to&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt; IF(JRCD.NE.0)THEN&lt;/P&gt;&lt;P&gt; WRITE(6,*) 'REQUEST ERROR IN USDFLD FOR ELEMENT NUMBER ',&lt;/P&gt;&lt;P&gt; 1 NOEL,'INTEGRATION POINT NUMBER ',NPT&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 10:47:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825154#M49767</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-23T10:47:44Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825155#M49768</link>
      <description>I am curious, looking up the following code I found that DIMENSION e.g.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;&lt;SPAN style="color: #0000ff; font-size: x-small;"&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;P&gt;DIMENSION &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size="2" color="#0000ff"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;ARRAY&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;&lt;SPAN style="color: #808080; font-size: x-small;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: x-small;"&gt;15)&lt;BR /&gt;&lt;BR /&gt;"DIMENSION" defines an array, in this case ARRAY(15), why is it not just called "ARRAY" and not "DIMENSION"?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 13:45:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825155#M49768</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-23T13:45:19Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825156#M49769</link>
      <description>DIMENSION is the keyword, ARRAY is the name of the array variable. There is no keyword ARRAY in Fortran&lt;BR /&gt;&lt;BR /&gt;I do not know the historical background for using the word "DIMENSION", but to me it&lt;BR /&gt;seems quite apt.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Arjen</description>
      <pubDate>Fri, 23 Sep 2011 13:54:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825156#M49769</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2011-09-23T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825157#M49770</link>
      <description>DIMENSION is an attribute. As with most attributes, it can be used as a separate statement, such as:&lt;BR /&gt;&lt;BR /&gt;DIMENSION ARRAY(15)&lt;BR /&gt;&lt;BR /&gt;This might need a separate type declaration statement if implicit typing was not to be used.&lt;BR /&gt;&lt;BR /&gt;or, in more modern Fortran, in a comma list of attributes:&lt;BR /&gt;&lt;BR /&gt;REAL, DIMENSION(15) :: ARRAY&lt;BR /&gt;&lt;BR /&gt;One can also use:&lt;BR /&gt;&lt;BR /&gt;REAL ARRAY(15)&lt;BR /&gt;&lt;BR /&gt;DIMENSION is one of those attributes where you don't have to use the keyword. In more modern code I'd expect to find it in a comma list of attributes for a single declaration. The DIMENSION statement is a holdover from very early Fortran.</description>
      <pubDate>Fri, 23 Sep 2011 13:56:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825157#M49770</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-09-23T13:56:53Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825158#M49771</link>
      <description>Thanks for the really interesting input from everyone on this..&lt;BR /&gt;&lt;BR /&gt;I have created an empty text file called STATEV.txt and am trying to write the data stored in STATEV(1) (produced during Abaqus analysis)into the text file. The text fileremains blank. Can anyone help? Thanks.&lt;SPAN style="font-size: x-small;"&gt;&lt;P&gt;&lt;BR /&gt; SUBROUTINE&lt;BR /&gt; USDFLD (FIELD,STATEV,PNEWDT,DIRECT,T,CELENT,TIME,DTIME,CMNAME,ORNAME,&lt;BR /&gt; NFIELD,NSTATV,NOEL,NPT,LAYER,KSPT,KSTEP,KINC,NDI,NSHR,&lt;BR /&gt; COORD,JMAC,JMATYP,MATLAYO,LACCFLA)&lt;BR itxtnodeid="104" /&gt;c&lt;BR itxtnodeid="103" /&gt; INCLUDE 'ABA_PARAM.INC'&lt;BR itxtnodeid="102" /&gt;c&lt;BR itxtnodeid="101" /&gt; CHARACTER*80&lt;BR itxtnodeid="100" /&gt; CMNAME,ORNAME&lt;BR itxtnodeid="99" /&gt; CHARACTER*3FLGRAY(15)&lt;BR itxtnodeid="98" /&gt; DIMENSION FIELD(NFIELD),STATEV(NSTATV),DIRECT(3,3),T(3,3),TIME&lt;BR itxtnodeid="97" /&gt; DIMENSION ARRAY(15),JARRAY(15),JMAC(*),JMATYP(*),COORD(*)&lt;BR itxtnodeid="96" /&gt;c&lt;BR itxtnodeid="95" /&gt; CALL GETVRM('E',ARRAY,JARRAY,FLGRAY,JRCD,JMAC,JMATYP,&lt;BR /&gt; MATLAYO,LACCFLA)&lt;BR /&gt; EPS=ABS(ARRAY(1))&lt;BR itxtnodeid="94" /&gt;c&lt;BR itxtnodeid="93" /&gt; FIELD(1)=EPS&lt;BR itxtnodeid="92" /&gt;c&lt;BR itxtnodeid="91" /&gt; STATEV(1)=FIELD(1)&lt;BR itxtnodeid="90" /&gt;c&lt;BR itxtnodeid="89" /&gt; OPEN (unit=1, file='STATEV.txt')&lt;BR itxtnodeid="88" /&gt; WRITE (1),STATEV(1)&lt;BR itxtnodeid="87" /&gt;c&lt;BR itxtnodeid="86" /&gt; RETURN&lt;BR itxtnodeid="85" /&gt; END&lt;/P&gt;&lt;/SPAN&gt;</description>
      <pubDate>Fri, 23 Sep 2011 15:02:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825158#M49771</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-23T15:02:35Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825159#M49772</link>
      <description>Place a break point on the WRITE statement and see what is in STATEV(1).&lt;BR /&gt;What is in STATEV? What type is STATEV (INCLUDE 'ABA_PARAM.INC' may have declared STATEV as character)&lt;BR /&gt;Are you looking in the correct directory for STATEV.txt?&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;BR itxtnodeid="102" /&gt;</description>
      <pubDate>Fri, 23 Sep 2011 15:22:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825159#M49772</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2011-09-23T15:22:22Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825160#M49773</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;ABA_PARAM.INC is an internal file which includes one of the following in the user subroutine based on the fact that the solver is SINGLE or DOUBLE PRECISION:&lt;BR /&gt;&lt;BR /&gt;parameter (nprecd=1)&lt;BR /&gt;or&lt;BR /&gt;implicit real*8(a-h,o-z)&lt;BR /&gt;parameter (nprecd=2)&lt;BR /&gt;&lt;BR /&gt;I am using this code as a subroutine during and SIMULIA abaqus analysis, so i am not sure how I can use a break point to see what STATEV(1) actually looks like during the analysis?&lt;BR /&gt;&lt;BR /&gt;STATEV(1) is defined as "An array containing the solution-dependant state variable" produced during an analysis run.&lt;BR /&gt;&lt;BR /&gt;In terms of the directory of STATEV(1) I have include the path C:\......\STATEV(1) and still recieve a blank text file at the end of an analysis.&lt;BR /&gt;&lt;BR /&gt;Thanks again for all your help.</description>
      <pubDate>Fri, 23 Sep 2011 15:49:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825160#M49773</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-23T15:49:17Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825161#M49774</link>
      <description>&lt;P&gt;Then this means that STATEV is either a REAL*4 or REAL*8 array.&lt;BR /&gt;The code you provided should have&lt;BR /&gt;&lt;BR /&gt;a) created an output file of the name specified &lt;STRONG&gt;within the current directory at the time of the OPEN&lt;BR /&gt;&lt;/STRONG&gt;b) written a floating point value, presumably non-blank&lt;BR /&gt;c) closed the file&lt;BR /&gt;&lt;BR /&gt;The important factor is "what was the current directory" at the time of the OPEN?&lt;BR /&gt;&lt;BR /&gt;The current directory is not necessarily the directory where the execuitable is located. In fact the file (as specified in your program) is opened: within the current directory .AND. within the current drive&lt;BR /&gt;Each are seperately settable.&lt;BR /&gt;&lt;BR /&gt;It would appear the the file you are looking at is not the file written.&lt;BR /&gt;IOW this may have been an older empty file generated at some other time in the location you are looking at (but not the location where the current file is written).&lt;BR /&gt;&lt;BR /&gt;How are you launching the program? If from IDE you can check the properties (default is project folder .NOT. execuitable folder).&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 20:18:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825161#M49774</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2011-09-23T20:18:55Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825162#M49775</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;I am not sure what you mean by ""what was the current directory" at the time of the OPEN?"? I have created a STATEV.txt file and placed this into the working directory of the analysis with ABAQUS.&lt;BR /&gt;&lt;BR /&gt;The program is being launch by ABAQUS which calls the subrotuine I have written above during an analysis run. I use the following command in the ABAQUS Command Window to launch the analysis input file (.inp) and subroutine (.for):&lt;BR /&gt;&lt;BR /&gt;abaqus job=model_1 user=Cyclic_Fatigue_B_Reduced&lt;BR /&gt;&lt;BR /&gt;Thanks for all you help.</description>
      <pubDate>Sat, 24 Sep 2011 07:36:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825162#M49775</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-24T07:36:24Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825163#M49776</link>
      <description>&lt;P&gt;Your subroutine is not closing the file STATEV.txt. The WRITE is buffered. Should you examine STATEV.txt prior to close then it may be empty. If STATEV.txt is required to remain open (more state variables to be written) consider adding FLUSH(1).&lt;BR /&gt;&lt;BR /&gt;Consider changing the I/O unit number for STATEV.txt from 1 to some number greater than 9. Lower unit numbers are typically reserved for legacy I/O devices. Ignore this if ABAQUS requires STATEV.txt to be located on unit 1. Also, do not use literal unit numbers. Use parameters from shared header or module.&lt;BR /&gt;&lt;BR /&gt;integer, parameter :: uSTATEV = 10&lt;BR /&gt;...&lt;BR /&gt;OPEN(UNIT=uSTATEV, FILE='STATEV.txt', STATUS='REPLACE')&lt;BR /&gt;&lt;BR /&gt;** or STATUS='OLD' if that is the case&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2011 12:28:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825163#M49776</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2011-09-24T12:28:10Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825164#M49777</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Still having problems with this, I have updated this in line with the advice from the forum and reference to the following text:&lt;BR /&gt;&lt;BR /&gt;Structured Fortran 77 for engineers and scientists (5th Ed.) Delores M.Etter&lt;BR /&gt;&lt;BR /&gt;INTEGER, PARAMETER :: uSTATEV = 105&lt;BR /&gt;&lt;BR /&gt;101 FORMAT (F12.6)&lt;BR /&gt; OPEN (UNIT=105,&lt;BR /&gt; 1 FILE='C:\.....\STATEV.txt',&lt;BR /&gt; 2 STATUS='NEW')&lt;BR /&gt; WRITE(105,101) STATEV(1)&lt;BR /&gt; CLOSE (UNIT=105)&lt;BR /&gt;&lt;BR /&gt;Please note. I have taken into account the .for column formatting in the code.&lt;BR /&gt;&lt;BR /&gt;I would really appreciate any further input or advice. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2011 10:52:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825164#M49777</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-28T10:52:51Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825165#M49778</link>
      <description>Did you try changing that FILE path name to an actual path, or allowing it to use your current working directory?</description>
      <pubDate>Wed, 28 Sep 2011 11:53:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825165#M49778</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-09-28T11:53:19Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825166#M49779</link>
      <description>Thanks for you response, yes i have tried both and still no success. in the code below:&lt;BR /&gt;&lt;BR /&gt;FILE='C:\.....\STATEV.txt',&lt;BR /&gt;&lt;BR /&gt;I have just shorterned the text on the forum post to make it easier to read. In the real code I have tried both including the full FILE path as well as trying just:&lt;BR /&gt;&lt;BR /&gt;FILE='STATEV.txt',&lt;BR /&gt;&lt;BR /&gt;Still not sure whereI am going wrong. Thanks.</description>
      <pubDate>Wed, 28 Sep 2011 12:08:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825166#M49779</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-28T12:08:16Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825167#M49780</link>
      <description>The WRITE statement should not have a continuation character in COL-6.&lt;BR /&gt;&lt;BR /&gt;The syntax is&lt;BR /&gt;&lt;BR /&gt; IF ( CONDITION ) THEN&lt;BR /&gt; Statements to execute if CONDITION is .TRUE.&lt;BR /&gt; ENDIF&lt;BR /&gt;&lt;BR /&gt;Note that the first and last lines are complete statements by themselves. Likewise, the statements in the IF...ENDIF block are complete statements.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2011 12:13:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825167#M49780</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-28T12:13:07Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825168#M49781</link>
      <description>&lt;P&gt;Thanks mecej4, my WRITE STATEMENT does not have a continuation character in COL-6.&lt;BR /&gt;&lt;BR /&gt;Sorry, did I misunderstand your post?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2011 13:06:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825168#M49781</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-28T13:06:30Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825169#M49782</link>
      <description>The initiating post of this thread contains:&lt;BR /&gt;&lt;BR /&gt;IF(JRCD.NE.0)THEN&lt;BR /&gt;&lt;P&gt;1 WRITE(6,*) 'REQUEST ERROR IN USDFLD FOR ELEMENT NUMBER ',&lt;/P&gt;2 NOEL,'INTEGRATION POINT NUMBER ',NPT&lt;BR /&gt;&lt;BR /&gt;If these are the statements in your program, the '1' at the beginning of the second line should not be there. The error message from the compiler is consistent with such a continuation character having been scanned.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2011 13:18:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825169#M49782</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-28T13:18:24Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825170#M49783</link>
      <description>Thanks mecej4, I corrected this before. This still did no solve the problem I am having with not being able to write to the STATEV.txt file. Perhaps the problem is that there is nothing to write to the file, but I just do know about it. I will try write a simple programme to write to a file to test out the code.&lt;BR /&gt;&lt;PRE&gt;[bash] 101    FORMAT (F12.6)
        OPEN (UNIT=uSTATEV,
      1 FILE='STATEV.txt',
      2 STATUS='NEW') 
        WRITE (uSTATEV,101) STATEV(1)
        CLOSE (UNIT=uSTATEV)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[/bash]&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Sep 2011 13:40:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825170#M49783</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-09-28T13:40:10Z</dc:date>
    </item>
    <item>
      <title>Error in code?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825171#M49784</link>
      <description>You will find this forum more helpful if you post complete code instead of fragments, and if you show the actual error messages from the compiler and runtime, instead of simply saying that something "did not work".&lt;BR /&gt;&lt;BR /&gt;When you post code, please use the Syntax Highlighter Tool (the yellow pencil/pen icon).</description>
      <pubDate>Wed, 28 Sep 2011 13:56:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-code/m-p/825171#M49784</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-28T13:56:19Z</dc:date>
    </item>
  </channel>
</rss>

