Home > Lexical Error > Lexical Error - Unknown Token Type

Lexical Error - Unknown Token Type

File name = stdin formatted, sequential access record = 10 In source file card10.f, at line number 273 Looks like the problem might be in reading the image files. 2D Image RE: PGFIO-F-225/list-directed read/internal file/lexical error wethegrl (TechnicalUser) 12 Aug 03 12:52 Thank you.that was the problem! IESEC = 0 !UTC time zone (ABTZ) -- No default ! Watch for values that do not match the limits from your declaration.Norbert RE: the PGI error nudols (MIS) (OP) 9 Feb 07 04:58 thanks for councils,but i 'm not very programmer..and weblink

Login or register to post comments 2 replies [Last post] Thu, 2010-10-07 18:37 dmbelnap Offline Joined: 7 Oct 2010 I'm getting the following error message: PGFIO-F-225/list-directed read/unit=5/lexical error-- unknown token type. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Suffers exactly the same problem as your prior description of the writing process. List program, input and output. 15. Continued

read(55,*) press ---------------------------------------------------------- Please let me know, what shall I do Thanks Mon, 08 Aug 2011 06:51:35 GMT Richard Mai#2 / 11 Reading files in fortran Awfully short of important Look at on-line Fortran tutorials and documentation. 3. I usually do the following, if I input an array from file:CODEinteger i, ji = ....j = ....!whenever you compute your subscripts and receive an input error include the followingprint*, '

All rights reserved. IBHR = 4 !Second (IBSEC) -- No default !IBSEC = 0 !Ending date: Year (IEYR) -- No default ! Hence, in the code which I have written, I only ran the 1st case (-1 to 97 and -1 to 129)] . . . open(55,file='press11') [ I open the file] . .

Reading Fortran binary files from C++ 10. Only thing I have done is adding some new code. They do not change. [Other types of arrays may behave differently.] Quote:> . > . > open(55,file='press11') ? ?[ I open the file] > . > . > read(55,*) press(i,j) ? https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/271849 What operating system, compiler, version are you using?

Learn by doing. 7. Please accept my > apology. All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. press(i+2,j+2) = 2.d0*v_strength/((1.d0-dexp(-1.d0))*v_width)*(dexp > (-r1sq/v_width**2)-dexp(-r2sq/v_width**2)) > ? ?

Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More... Thanks, Mat Back to top KolluruJoined: 02 Nov 2006Posts: 20 Posted: Tue Dec 11, 2012 10:38 am Post subject: Hi Mat, Thanks for your quick response. Bear in mind that what I posted was not directed at you. Read/Write Matlab files in fortran 12.

I hope this helps > This is the F90 code from where I am generating the data file > 'press11' > ----------------------------------------- > real*8, dimension(99,131) :: press > . > . have a peek at these guys If that is all you wrote, a single value, then that is all you can read from the file. write (55,*) press(i+2,j+2) ---------------------------------------------------------- I am reading the file 'press' into an array called press ---------------------------------------------------------- open(55,file='press') . . . write (55,*) press(i+2,j+2) This writes a single array element.

Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. It was running ok. Once I cleared that up in the input file, my problems were solved. check over here Is that what you intend?

In the meantime you posted some code. I am student and I new to fortran and I have never used it before. As there is no compatibility between that and the Intel compilers, you would need to use the documentation and assistance methods for those compilers.

Your original post said read(*,55) press which isn't at all the same thing.

Hence, > in the code which I have written, I only ran the 1st case (-1 to 97 > and -1 to 129)] > . > . > . > open(55,file='press11') But the format got changed. Click Here to join Tek-Tips and talk with other members! Once that works, try I/O by column or by row. 10.

Already a member? I do not even find this ABTZ Variable in your code. I apologize fot that. this content IBDY= 9 !Starting time: Hour (IBHR) -- No default !