- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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)
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
