I have a very basic question. I want to run several files in my linux. Name of the files is input1.i, input2.i and so on. After running each input file, I should have an output for each of them. I tried the following method but it failed:
for file in input*
do
mpiexec -n 6 ./tiger-opt -i file.i # this line runs my inputs
done
the error is
Failed to get real path for file.i
I very much appreciate if anyone can help me.