comp.lang.ada
 help / color / mirror / Atom feed
* Gnat Glade newbie questions
@ 2004-03-25 11:07 Roger Blum
  2004-03-25 19:34 ` Ludovic Brenta
  0 siblings, 1 reply; 6+ messages in thread
From: Roger Blum @ 2004-03-25 11:07 UTC (permalink / raw)


Hello

I'm new to gnat glade and im trying to build a framework for distributed
Monte-Carlo simulations.
Input (scenario and base data) comes from an Oracle database; output is
written into the same DB.
Statistical analysis of simulation results is then performed in the DB
itself.
I have a working system which is based on strictly sequential processing.

Now I intend to distribute the processing as follows:
-----------------------------------------------------
- Kind of 'shared memory' for base data (e.g. digital elevation model for
line of sight calculations)
- A worker process executing one independent 'run' of the whole simulation
- A master process spawning the desired amount of worker processes (runs)

My idea:
--------
- The base data:
  One process (an executable running as a service / an Ada task with
different entries accessing a
  protected object) acting as a server. Available to any worker process.
  Package categorized as REMOTE_CALL_INTERFACE (or SHARED_PASSIVE?).
- The worker process:
  Another executable
  Packages reading data from base data categorized as REMOTE_CALL_INTERFACE
or no categorization
  at all?
- The master:
  Starting worker processes with
GNAT.OS_LIB.NON_BLOCKING_SPAWN("worker.exe", args) as just creating
  Ada tasks wouldn't be enough to be migrated on openMosix (the target
platform).
  Probably no categorization necessary.

Now my questions:
-----------------
- All my tries to build and use GNAT Glade 3.15p from the source failed.
  Has anybody a working binary of GNAT Glade 3.15p for Windows and/or Linux
  (gnatdist and Garlic) or how can I build it from source without a lot of
error messages?

- Can gnatdist build all the necessary executables just on the base of
correct categorization
  of the packages or do I have to create 3 main procedures/packages?

- How can the worker get aware of the presence of the base data?

- Will the distributed processes generated that way migrate on openMosix?

- Has anybody experiences made with Ada / MPI or PVM?

Any help / information / suggestion is very much appreciated!

Thanks
Roger





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-04-06 12:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25 11:07 Gnat Glade newbie questions Roger Blum
2004-03-25 19:34 ` Ludovic Brenta
2004-03-25 22:22   ` Duncan Sands
2004-03-25 23:11   ` Ludovic Brenta
2004-04-05  8:52   ` Roger Blum
2004-04-06 12:13     ` Laurent Pautet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox