Re: External Program



> 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.


.



Relevant Pages

  • Re: How to manage Simulink signals in a M-file
    ... Andrea Pinna writes: ... the simulation, only the k-th value of the signal. ... h = gcbh; ... set_param(h, 'UserData', dat); ...
    (comp.soft-sys.matlab)
  • Re: "system" extension on Windows
    ... At the core of the simulation, ... the current lineage (Intel Fortran 7 father and Compaq mother). ... Windows and I'll let you know about the results. ... It's more expensive to start a process on Windows than on Linux. ...
    (comp.lang.fortran)
  • Re: Why do you use smalltalk?
    ... I started programming in 1977 using Fortran to do engineering ... I continued doing a lot of engineering simulation ... The next question was which programming language should I use. ... Oriented Dynamics Simulator in Smalltalk starting from scratch. ...
    (comp.lang.smalltalk)
  • Re: simulation using fortran
    ... Recommendations on those have been posted here regularly. ... I agree that one should know more about the type of simulation, ... Not the Fortran 77 and Fortran 90 versions; for Fortran 90 there is even ... applications as far as the picture goes. ...
    (comp.lang.fortran)
  • maatlab vs. fortran
    ... I am working with matlab. ... visual simulation) where each simulation consists of random data ... generating, large formula computation, symbolic computation, ... Some of my friend recomended me fortran. ...
    (sci.math.num-analysis)