I wrote my own program, let's call it compute_sum.out It is written in Fortran 90 and is run in the terminal window with the following command prompt
>> ./compute_sum.out FILENAME
where FILENAME is the name of an input file. What I would like is to be able to use this program in any directory without having to copy the program to each directory. So what I'm saying is, I'd like ./compute_sum.out to always work in the terminal window. I know this is possible to do, anyone know how?