- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm getting the following error in intel fortran 8.0 compiler over ubuntu 8.10 linux machine.
Could you please help me in resolving this.
balu@balu-laptop:~/Documents/seadas5.3/src/src/l2gen$ ifort -c -extend_source -convert big_endian -assume byterecl -save -O3 get_dem_height.for -o ./test1/test
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: First statement in file must not be continued
fortcom: Error: get_dem_height.for, line 3: Syntax error, found END-OF-STATEMENT when expecting one of: ( % . = =>
SUBROUTINE get_dem_height( demfile, xlon, xlat, senz, sena,height, iret)
------------------------------------------------------------------------^
compilation aborted for get_dem_height.for (code 1)
I'm getting the following error in intel fortran 8.0 compiler over ubuntu 8.10 linux machine.
Could you please help me in resolving this.
balu@balu-laptop:~/Documents/seadas5.3/src/src/l2gen$ ifort -c -extend_source -convert big_endian -assume byterecl -save -O3 get_dem_height.for -o ./test1/test
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: Illegal character in statement label field
fortcom: Error: First statement in file must not be continued
fortcom: Error: get_dem_height.for, line 3: Syntax error, found END-OF-STATEMENT when expecting one of: ( % . = =>
SUBROUTINE get_dem_height( demfile, xlon, xlat, senz, sena,height, iret)
------------------------------------------------------------------------^
compilation aborted for get_dem_height.for (code 1)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This looks like you set a source format option which conflicts with the way your source file is set up. extend_source would be a fixed form option, requiring fields such as SUBROUTINE to begin at column 7. .for file extension is not often used for free form source, but you can use it if you switch to -free.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page