farzaneh2620
Programmer
Hello ALL,
I am a new learner in Fortran. I want to run my code on linux but after compiling get this error. Can any one by chance have some idea what is causing this problem here? Any help would be much appreciated.
Best,
Farzaneh
aronline@balmer:~/argroup/Farzaneh/Fortran$ gfortran -mcmodel=medium -o file centroidmega-pimms2.f90
aronline@balmer:~/argroup/Farzaneh/Fortran$ ./centroidmega-pimms2
-bash: ./centroidmega-pimms2: No such file or directory
aronline@balmer:~/argroup/Farzaneh/Fortran$ ^C
aronline@balmer:~/argroup/Farzaneh/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 a new learner in Fortran. I want to run my code on linux but after compiling get this error. Can any one by chance have some idea what is causing this problem here? Any help would be much appreciated.
Best,
Farzaneh
aronline@balmer:~/argroup/Farzaneh/Fortran$ gfortran -mcmodel=medium -o file centroidmega-pimms2.f90
aronline@balmer:~/argroup/Farzaneh/Fortran$ ./centroidmega-pimms2
-bash: ./centroidmega-pimms2: No such file or directory
aronline@balmer:~/argroup/Farzaneh/Fortran$ ^C
aronline@balmer:~/argroup/Farzaneh/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 )