Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

Error when compiling Intel Fortran 2013.2.146 on Ubuntu 12.04

$
0
0

Dear All,

I have install UBUNTU 12.04 (64bit) and Intel Fortran Comper 2013.12.146 and when i try to ru simple program try1.f

print*, 'Hello World!'

I get the following error: Will this be due to path incorrectly defined on ~/.bashrc file?

Please Assist. Thanks

fulufhelo@Biomech-FJMM:~$ ifort try1.f
try1.f(1): error #5149: Illegal character in statement label field  [p]
print*, 'We got it now'
^
try1.f(1): error #5149: Illegal character in statement label field  [r]
print*, 'We got it now'
-^
try1.f(1): error #5149: Illegal character in statement label field  [i]
print*, 'We got it now'
--^
try1.f(1): error #5149: Illegal character in statement label field  [n]
print*, 'We got it now'
---^
try1.f(1): error #5149: Illegal character in statement label field  [t]
print*, 'We got it now'
----^
try1.f(1): error #5118: First statement in file must not be continued
print*, 'We got it now'
-----^
try1.f(1): error #5082: Syntax error, found ',' when expecting one of: <LABEL> <END-OF-STATEMENT> ; BLOCK BLOCKDATA PROGRAM MODULE TYPE INTEGER REAL ...
print*, 'We got it now'
------^
try1.f(1): catastrophic error: Could not recover from previous syntax error


Viewing all articles
Browse latest Browse all 2746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>