Hi, I have a quick question about a problem that I just have had no luck in finding the answer to.
I am trying to run an F90 executable inside a Bash Script, using 2 command-line arguments for the executable file using the "getarg()" F90 function. The 2 inputs arguments are string path names and for an Input filename and an Output filename. Here is the basic line of code:
If I copy this line exactly as it is and run it at the command line, there are no problems whatsoever. But, with this line put into the Bash script, I always get the error:
Any ideas?
Thanks so much for the help... I really appreciate it!
I am trying to run an F90 executable inside a Bash Script, using 2 command-line arguments for the executable file using the "getarg()" F90 function. The 2 inputs arguments are string path names and for an Input filename and an Output filename. Here is the basic line of code:
Code:
./program.exe /filepath/Input_file.dat /filepath/Output_file.dat
If I copy this line exactly as it is and run it at the command line, there are no problems whatsoever. But, with this line put into the Bash script, I always get the error:
Code:
./This_Bash_Script.scr: line 52: ./program.exe: No such file or directory
Any ideas?
Thanks so much for the help... I really appreciate it!