If you displike a.out, you can specify name for the executable file. For example, if you want to call your executable file test, the following command line compiles your program to an executable file test:f90 test.f90
What is new here is adding -o test.f90 test.f90 -o test
If the executable is called test, the following command line executes test:a.out
test
If the executable is called test, the following command line executes test and takes input from data.in.a.out < data.in
test < data.in
If the executable is called test, the following command line executes test and send screen output to file data.out.a.out > data.out
Note that if you see a message like File already exists, then remove data.out and execute again.test > data.out
Or, if you do not compile test.f90 to a.out, then do the following, where test is name of the executable:f90 test.f90 >& test.err
Note that if you see a message like File already exists, then remove test.err and execute again.f90 test.f90 -o test >& test.err
ld: fatal: file means: unknown type, unable to process using elf(3E) libraries ld: fatal: File processing errors. No output written to a.out
where test is your program file test.f90. Please note that the file extention .f90 cannot be omitted.f90 test