DistributedPrimeCalculatorApp

Jul 28, 2008 at 10:06 PM
The DistributedPrimeCalculatorApp does not compute, and it logs an error:

"Remote node 0 appears to be offline"

in the master's console when a 2-node cluster (1 master, 1 worker) is launched on a single-CPU workstation, in the order

Registration server --> worker node --> master node

Both nodes are reported as being registered OK in the Registration server console however.  I believe the configured IP addresses and ports are OK.

The MPAPI and RemotingLite versions being used are the most current one as of July 28.

Is there a confirmation on this same behavior by anyone else?


Thanks for reading.

Geoffrey
Jul 29, 2008 at 10:48 PM
Edited Jul 29, 2008 at 10:54 PM
MrCoder,

I encountered the same problem, and I traced it down to the WorkerAddress class is not marked as serializable.

Put a [Serializable] attribute on the WorkerAddress class and recompile the sample, and that should fix you up.

[

Serializable]
public sealed class WorkerAddress


C.

 

 

 

 

 

Coordinator
Jul 30, 2008 at 7:23 AM
Apparently I was too busy with the last release and had been testing up against an older version of the .dll without noticing it. This is rather embarassing and I do hope that you can overcome this problem. I will fix it as soon as possible myself, as well as revise my testing procedures.

/Frank
Coordinator
Jul 30, 2008 at 8:11 AM
MPAPI v. 1.1.2, which fixes the above mentioned problem, has now been released.

I am sorry for the inconveniences this has brought.

/Frank
Jul 30, 2008 at 6:36 PM

Frank,

That's why it's an opensource project, others can respond and help it along as well :)

C.