Hi All,
If I have two scripts named 1.inp, 2.inp, I can run them
with command like ./1.inp, now I should modify some parameter
in 2.inp according to the result of ./1.inp before run it. How can
I write a program to run then together?
For example, I get two numbers a and b from 1.inp, and if a>b,
I should set c=0, which is a parameter in script 2.inp, if a<=b,
I should set c=1, then how to write it? In fact I want to know
how to run such scripts in a normal fortran program.
I wonder I have explained it clearly, hower I am looking forward
for your helps. Thanks.
Li yang
|