Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

command not found error

$
0
0

Hi guys,

I am pretty a new learner in Fortran. I am running a code in Fortran 90 on linux. I am using gfortran -macmodel=medium -o file silename.f90 to compile the code and making it executable. After doing this I got the error

online@balmr:~/group/Far/Fortran$ ./centroidmega-pimms2.f90
./centroidmega-pimms2.f90: line 1: Program: command not found
./centroidmega-pimms2.f90: line 2: $'\r': command not found
./centroidmega-pimms2.f90: line 3: Implicit: command not found
./centroidmega-pimms2.f90: line 4: $'!\r': command not found
./centroidmega-pimms2.f90: line 5: Centroids: command not found
./centroidmega-pimms2.f90: line 6: Kasra: command not found
./centroidmega-pimms2.f90: line 7: $'!\r': command not found
./centroidmega-pimms2.f90: line 8: $'\r': command not found
./centroidmega-pimms2.f90: line 9: syntax error near unexpected token `('
./centroidmega-pimms2.f90: line 9: `  Integer, Parameter :: wp = Selected_real_k'nd( 12, 70 )

I am pretty sure that the code that I am working is bug free as my colleague run it his self. Any help would be very appreciated.

Best,

Farzaneh

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles



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