Help with Glade (Annex E) on Windows



Is there someone who can help with Glade setup on Windows? Have tried
both Academic and free GPL versions. Gnatdist builds clean with MSYS
(current version .10). The bank example works fine. Two of the prime
number finding examples work fine. Two hang after partial output.
Recursive calls seem to cause this. The Adacore folks are looking at
it.

This is for a student who's trying to parallelize a genetic
algorithm. Should be a nice project if we can get off the ground.

The trivial RCI code (below) works fine with all partitions on one
host. When we put a partition on a separate host, no output. Clearly
I'm missing something.

To eliminate the Starter, I have tried starting the partitions
manually with the following commands:

On host 10.1.0.30:
c:\bin\partition_0 --boot_location tcp://10.1.0.30:1234

On host 10.254.254.10:
c:\bin\partition_1 --boot_location tcp://10.1.0.30:1234

Result is same... Just hung partition processes.

Thanks in advance.
Gene

-- static.cfg
configuration Static is
pragma Starter(Ada);
for Partition'Directory use "/bin";
Partition_0 : Partition := ();
for Partition_0'host use "10.1.0.30";
procedure Main is in Partition_0;
Partition_1 : Partition := (Report_1);
for Partition_1'host use "10.254.254.10";
end Static;

-- report_1.ads
package Report_1 is
pragma Remote_Call_Interface;
function Identity(X : in Integer) return Integer;
procedure Echo(Rtn : out Integer; X : in Integer);
end Report_1;

-- report_1.adb
with Report;
package body Report_1 is
function Identity(X : in Integer) return Integer
renames Report.Identity;
procedure Echo(Rtn : out Integer; X : in Integer)
renames Report.Echo;
end Report_1;

-- report.ads
package Report is
function Identity(X : in Integer) return Integer;
procedure Echo(Rtn : out Integer; X : in Integer);
end Report;

-- report.adb
package body Report is
function Identity(X : in Integer) return Integer is
begin
return X;
end Identity;
procedure Echo(Rtn : out Integer; X : in Integer) is
begin
Rtn := X;
end Echo;
end Report;

-- main.adb
with Ada.Text_IO; use Ada.Text_IO;
with Report_1;
procedure Main is
I : Integer := 0;
begin
Put_Line("Start:");
Report_1.Echo(I, Report_1.Identity(I+1));
Put_Line(Integer'Image(I));
-end Main;

.



Relevant Pages

  • QCReports demo
    ... QueryCalc, the graphics report writer we'd written for IMAGE and the HP3000. ... QueryCalc, which we now call QCReports, was translated onto the PC. ... same as we move from host platform to platform. ...
    (comp.sys.hp.mpe)
  • Re: Daily/weekly/monthly output aggregation
    ... Developer input is what I need at this point -- I have done development work ... > been avoided if not for feelings of false security. ... Each report is mailed to an address, that pipes the message to a program. ... - do, essentially, a diff against today and yesterday for each host ...
    (freebsd-isp)
  • [Full-disclosure] Re: Amazon Phishing Scam - Tech Details
    ... > nice, very authentic looking, and would suck in a lot of folks because it ... of a school psychiatrist's report on a pupil there, I wonder if we may have ... stumbled across the host in question. ...
    (Full-Disclosure)
  • Re: NFS Locking Issue
    ... SIGUSR1 shall be sent to srv process. ... This caller_name is used by server rpc.lockd to send request for host monitoring to rpc.statd. ... Could people experiencing rpc.lockd mistery at least report whether _server_ machine successfully resolve hostname of clients as reported by hostname? ... I've also noticed that our rpc.lockd is particularly sensitive, on the client side, to locks being released by a different process than the process that acquired the lock, which is triggered excessively by our new libpidfile in RELENG_6. ...
    (freebsd-stable)
  • Re: an awful problem, disc space is disappearing
    ... I have difficulty understanding its output. ... here they report the same ... please note baobab also reports here: 10.8gig used and 46gig are still ... Do you have several partitions? ...
    (Ubuntu)