I am trying to run a FORTRAN program in Ubuntu. Code has been compiled and the result is that I have the following 2 files:
These files are located in: /home/user_test/FileList
At the Ubuntu command line, I enter:
cd FileList/ ./sfsptest2.exe yyVx6634XC.INP
bash: ./sfsptest2.exe: Permission denied
If I use:
gfortran sfsptest2.exe yyVx6634XC.INP
I get this error message:
/usr/bin/ld:yyVx6634XC.INP: file format not recognized: treating like linker script /usr/bin/ld:yyVx6634XC.INP:1: syntax error collect2: error: ld returned 1 exit status
Is there a way to run this FORTRAN
.exe file from the terminal in Ubuntu?
*.exe file was produced in Windows with a FORTRAN 95 compiler.