Re: External Program



Borg wrote:
>
> > Depends on what you have and what you really want to do and to an extent
> > "how" may depend on the OS...
>
> I can operate on linux and Win too.
>
> The program that I want to call is a simulation of a gas-turbine.
> There are some files .dat from which it takes input parameters and some
> other files .dat in which are written output dates.
>
> I have to simulate turbine's faults by changing parameters in foults.dat
> file in input.
>
> I want to write another program in fortran that write parameters in
> faults.dat to simulate the right fault and execute the simulation program.
>
> "Duane Bozarth" <dpbozarth@xxxxxxxxxxxx> ha scritto nel messaggio
> news:431C5014.26DD757C@xxxxxxxxxxxxxxx
> > Borg wrote:
> > >
> > > Hi,
> > > I'ha a simulation program in fortran 77.
> > > I want to call that program into another program.
> > > Is this possible?
> > > If yes, how?
> >
> > Depends on what you have and what you really want to do and to an extent
> > "how" may depend on the OS...
> >
> > I started to try to write some generalities, but in thinking how to
> > compose that I was overwhelmed...
> >
> > So, explain more fully what form the program that you want to call and
> > the program you want to call from are in--do you have source for both,
> > either, or neither?
> >
> > What is input and output form and what actual steps to you want to take?
> >
> > OS and compilers (if known) might also help.
> >
> > Anything else that appears significant.
.