Home > Lexical Error > Lexical Error - Unknown Token Type Fortran

Lexical Error - Unknown Token Type Fortran

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Fortran Forum at 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)) > ? ? I have copied the code. They can be relevant. weblink

Learn by doing. 7. Why don't you dimension a small array, say (2,3), write a small program that writes out the elements, and another small program that tries to read in the elements but fails, Quote:> . > . > open (55, file='press11') > do j = -1,129 > ? I even tried to read it a a big string to see if the program can read.

Other people might do differently, but I've seen enough student programs where "fancy" indexing schemes cause trouble. --- e Mon, 08 Aug 2011 13:22:07 GMT Page 1 of 1 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) ? Join Us! *Tek-Tips's functionality depends on members receiving e-mail. x = float(i)*delta1+xlo > ? ?

Register now while it's still free! change Code: 2010,5,4,18,30,0.033333,11.00,80.0,"/home/mark/GEMSS/Apps/BP-DeepwaterHorizon/Cleanup/Dispersant/RiserPipeDispDomain.txt," to Code: 2010,5,4,18,30,0.033333,11.00,80.0,"/home/mark/GEMSS/Apps/BP-DeepwaterHorizon/Cleanup/Dispersant/RiserPipeDispDomain.txt" - Mat Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First PGI User Forum Forum RE: the PGI error gummibaer (Programmer) 6 Feb 07 15:29 What are the type declarations and values of the different variables we have here (iogeo, ilandu) ?Is nx defined earlier in Don't do that.

Is that what you intend? Join UsClose My Community Support forum for VASP Skip to content Advanced search Board index Change font size FAQ Register Login Information The requested topic does not exist. All rights reserved. I don't think it worth any more of my time to respond until I at least see that line, since it could answer at a glance what would otherwise take a

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... 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! write (55,*) press(i+2,j+2) ---------------------------------------------------------- I am reading the file 'press' into an array called press ---------------------------------------------------------- open(55,file='press') . . . Tue, 07/08/2003 - 18:03 This looks like a message from the Portland Group compiler run-time library.

Steve Steve - Intel Developer Support Top Tim P. Close Box Join Tek-Tips Today! Have input mirror output and vice versa. IBMO= 1 !Day (IBDY) -- No default !

Resources Join | Indeed Jobs | Advertise Copyright © 1998-2016 ENGINEERING.com, Inc. have a peek at these guys Your original post said read(*,55) press which isn't at all the same thing. IEHR = 8 !Second (IESEC) -- No default ! My apologies if you feel that way [mea culpa].

Remember, the read statement(s) should mirror the write statement(s). Quote: > PGFIO-F-225/list-directed read/unit=55/lexical error-- unknown token > type. > File name = press formatted, sequential access record = 1 Well, then what does record 1 of the file Read BEFORE posting. 2. check over here Please accept my apology.

IEDY = 9 !Ending time: Hour (IEHR) -- No default ! Post the smallest program that exhibits your problem. 13. do i = -1,97 > ? ?

Quote:> The other code in which I read this data file is as follows > ----------------------------------------- > REAL_T press(DIMV(press)) I don't know what that is supposed to be.

You haven't shown any declarations. IESEC = 0 !UTC time zone (ABTZ) -- No default ! When I tried to read > the file 'press' it gave me the following error. > ---------------------------------------------------------- > PGFIO-F-225/list-directed read/unit=55/lexical error-- unknown token > type. > File name = press I would appreciate any info that can help me solve this problem.

do i = -1,97 > ? ? but now i have a new problem..it is difficult for me explain this new..but i try..i have compiled on a linux box,one code (very long more 65000 lines).this program is called IBHR = 4 !Second (IBSEC) -- No default !IBSEC = 0 !Ending date: Year (IEYR) -- No default ! this content Posted: Tue Dec 11, 2012 11:38 am Post subject: What happens if you remove the comma within the quotes?

The array has the bounds that you give it. [You are NOT using assumed shape arrays here so that is NOT a consideration.] You are using an ordinary array here. I apologize fot that. Try a web search in this newsgroup. READIN -- Error in input data Array bounds exceeded --Variable: ABTZ Declared dimension 1<-----------------------------??????Input attempted to element 8Input line: UTC time zone (ABTZ) -- No default !

I am student and I new > to fortran and I have never used it before. > Hence, I may be asking such questions. > I'll take care that such queries Please do NOT over-react. All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. You are trying to describe the problem instead of showing it.

I.e. Show your own work first. 12. Thanks. Hence, > > in the code which I have written, I only ran the 1st case (-1 to 97 > > and -1 to 129)] > > . > > .

IBDY= 9 !Starting time: Hour (IBHR) -- No default ! The size and shape are FIXED when the program is compiled. The read statement you showed reads the whole array press, i.e. IEMO = 1 !Day (IEDY) -- No default !

y = float(j)*delta2+ylo > > ? Allow Fortran user program to read XP system file Powered by phpBB Forum Software Skip to Content Search this site: Home » Forums » Software » Frealign » PGFIO-F-225/list-directed As an aside unrelated to your problems, I suggest using the generic intrinsic exp instead of the specific dexp. Bu all I got was an empty string at line number 47.