From: "Roger Blum" <roger_blum@swissonline.ch>
Subject: Gnat Glade newbie questions
Date: Thu, 25 Mar 2004 12:07:05 +0100
Date: 2004-03-25T12:07:05+01:00 [thread overview]
Message-ID: <4062bd5b$0$706$5402220f@news.sunrise.ch> (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
next reply other threads:[~2004-03-25 11:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 11:07 Roger Blum [this message]
2004-03-25 19:34 ` Gnat Glade newbie questions 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox