Error #5082 Syntax Error
LearningModern CodeNetworkingOpen SourceStorageToolsDeveloper TypeEmbedded SystemsGame DevMediaTechnical, Enterprise, HPCWebOSAll ToolsAndroid*HTML5Linux*OS X*Windows*ResourcesCode SamplesContact SupportDocumentationFree SoftwareIntel Registration CenterProduct ForumsSDKsResourcesPartner with IntelAcademic ProgramPartner SpotlightBlack Belt DeveloperDeveloper MeshInnovator ProgramSuccess StoriesLearnBlogBusiness error #5082 syntax error found end-of-statement when expecting one of TipsEventsVideosSupportContact SupportDeveloper EvangelistsFAQsForums Search form Search You are hereHome › error #5082 syntax error found identifier Forums › IntelĀ® Software Development Products › IntelĀ® Fortran Compiler for Linux* and Mac syntax error found end-of-statement when expecting one of fortran OS X* FacebookLinkedInTwitterDiggDeliciousGoogle Plus error #5082: Syntax error error #5082: Syntax error milenko1976 Fri, 11/26/2010 - 02:15 I have this:ifort -c main.f -o main.omain.f(15): error #5082: Syntax error, found IDENTIFIER 'OPEN' when expecting one of: ; open(2, file='fexp.dat',status='unknown'). open(3, file='fmodel.dat',status='unknown')--------------------------------------------------------^main.f(15): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( * ) :: , + . - % : . ** / // .LT. < .LE. <= .EQ. == .NE. ... open(2, file='fexp.dat',status='unknown'). open(3, file='fmodel.dat',status='unknown')---------------------------------------------------------------------------------------------------^open(2, file='fexp.dat',status='unknown') open(3, file='fmodel.dat',status='unknown')Why? RSS Top 2 posts / 0 new Last post For more complete information about compiler optimizations, see our Optimization Notice. hirchert728 Fri, 11/26/2010 - 09:11 The name of the file you are trying to compile has the extensions .f . By default, ifort treats files with this extension as having the Fortran fixed source form (statement number in columns 1-5, continuation marks in 6, statement text in 7-72). It is difficult to be certain from what you posted, but I suspect the file contains statements written in the free source form. In particular, I suspect the statements begin before column 7. Interpreted in the fixed source form, these statements appear to be continuations of the statement before them, resulting in odd syntax errors. If this is the sou
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/270489 to fix errors in my Fortran code up vote -4 down vote favorite I am not familiar with errors in Fortran. Could you please explain what are these errors? int.f90(18): error #5082: Syntax error, found IDENTIFIER 'K' when expecting one of: ( % : . = => do k=0.0 to m ---^ int.f90(19): error #5082: Syntax error, found IDENTIFIER 'Q' when expecting one of: http://stackoverflow.com/questions/33478310/how-to-fix-errors-in-my-fortran-code ( % : . = => do q=1 to m-1 ----^ int.f90(20): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ) , f1=1/(2*pi)*(sqrt((k**2)+(Q**2)-(2*k*cos(t))) ----------------------------------------------^ int.f90(24): error #5082: Syntax error, found IDENTIFIER 'I' when expecting one of: ( % : . = => do i=1 to m-1 ----^ int.f90(4): error #6406: Conflicting attributes or multiple declaration of name. [INT] function int(f,a,b,int,m) -------------------^ int.f90(9): error #6418: This name has already been assigned a data type. [M] integer:: i,m ------------^ int.f90(10): error #6557: An =initialization-expr is missing; an initialization expression is required when using the PARAMETER attribute. [PI] real,parameter:: pi,pi=3.14 -----------------^ int.f90(10): error #6418: This name has already been assigned a data type. [PI] real,parameter:: pi,pi=3.14 --------------------^ int.f90(11): error #6557: An =initialization-expr is missing; an initialization expression is required when using the PARAMETER attribute. [EPS] real,parameter:: eps,eps=1.89 -----------------^ int.f90(11): error #6418: This name has already been assigned a data type. [EPS] real,parameter:: eps,eps=1.89 ---------------------^ int.f90(12): error #6557: An =initialization-expr is missing; an initialization expression is required when using the PARAMETER attribute. [E] real,parameter:: e,e=1.602*((10)**(-19)) -----------------^ int.f90(12): error #6418: This name has already been assigned a data type. [E] real,parameter:: e,e=1.602*((10)**(
Join INTELLIGENT WORK FORUMSFOR ENGINEERING PROFESSIONALS Log In Come Join Us! Are you anEngineering professional?Join Eng-Tips Forums! Talk With Other Members Be http://www.eng-tips.com/viewthread.cfm?qid=246127 Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Eng-Tips's functionality depends on members receiving https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=53544 e-mail. By joining you are opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Eng-Tips Posting Policies Jobs Link To This Forum! syntax error 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 Eng-Tips HomeForumsEngineering Computer ProgramsEngineering ProgramsFortran Forum Could somebody help me with this program? thread545-246127 Forum Search FAQs Links MVPs Could somebody help me with this error #5082 syntax program? Could somebody help me with this program? iigp2006 (Electrical) (OP) 28 May 09 06:22 After running this program in g95 and intel fortran for windows I keep getting the same two errorsuse_scat_daily_example.f(29): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: (* ) :: , + . - %% : . ** / // .LT. < .LE. <= .EQ. == .NE. ...CALL GET_SCAT_DAILY_V03 (filename,mingmt,windspd,winddir,scatflag,radrain,IERR)----------------------------------------------------------------------------------------------^GET_SCAT_DAILY_V03.F(1): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: *