Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Could somebody help me with this program? 1

Status
Not open for further replies.

iigp2006

Electrical
Jul 13, 2006
13
After running this program in g95 and intel fortran for windows I keep getting the same two errors

use_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: * <IDEN
TIFIER>
SUBROUTINE GET_SCAT_DAILY_V03(FILENAME,MINGMT,WINDSPD,WINDDIR,SCATFLAG,RADRAIN,IERR)

programs are attached
Regards
iigp
 
Replies continue below

Recommended for you

change the file extension from .f to .f95 as this will remove the 72 line character limit (which looks like the cause of your error messages above)

However your source code has several other non-standard things going on, which I'm sure g95 will list for you!
 
Many thanks Johnhors
The source code runs fine now.

Regards
Iiigp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor