I am new to the bash script. I want to carry out the simulation using bash and I want to make it open the fortran program file.
While I am writing this:
#!/bin/bash
echo "****************************"
./box1.f95 < indata1 >screen_output1
It says it does not have an acces to the box1.f95
file. Why is it working like that even though I have this file in the same directory where the bash script is?
box1.f95
is not a source file?Fortran
a compiled language? You must compile and run the binary. You can't execute the source file. And don't speak like that, please, it's a volunteers' site.