Jonas,

I pushed new launchers to git.

I added a new ssh launcher.
java -Dapgas.launcher=apgas.impl.SshLauncher 
-Dapgas.hostfile=/home/tardieu/hostfile -Dapgas.places=4 ...
It uses ssh to run on remote nodes. Place 0 always run on localhost. The 
hostfile should contain the hosts for the remaining places. 1 per line.

I added a new dummy launcher.
java -Dapgas.launcher=apgas.impl.NoLauncher -Dapgas.places=4 ...
This launcher does not do anything! It makes it possible for the user to 
launch places explicitly instead of relying on a launcher.
Place 0 will wait for 3 other places to connect before running main.

I added the -Dapgas.laucher.verbose property.
If set, the launcher prints the command executed to launch additional 
places.
Use in combination with apgas.impl.NoLauncher to know the command to 
invoke.

Let me know if you still have issues running on multiple nodes.

Olivier


Jonas Posner <jonas.pos...@student.uni-kassel.de> wrote on 09/23/2015 
09:30:58 AM:

> From: Jonas Posner <jonas.pos...@student.uni-kassel.de>
> To: x10-users@lists.sourceforge.net
> Date: 09/23/2015 09:31 AM
> Subject: [X10-users] APGAS lib: Adding Places across different mashines
> 
> Hi all,
> 
> I'm playing around with the APGAS library for Java. I want to add 
> some places to a running application using the ip:port adress. I use
> for testing the ResilientWorld Class in examples. Local works it 
> fine with the commands:
> 1.application: java -cp .:../lib/hazelcast-3.4.jar -Dapgas.places=1 
> examples.ResilientHelloWorld
> 2.application: java -cp .:../lib/hazelcast-3.4.jar -Dapgas.places=1 
> -Dapgas.master=localhost examples.ResilientHelloWorld
> 
> The second application connects to the first and the output shows 
> two places as expected. Application two can crash and app one 
> catches a DeadPlaceException. Everything fine and as expected.
> 
> But now i want to start the applications at tow different machines. 
> Instead of "localhost" i wrote the ip of the first application. 
> Additionally I added the port :5701. But application two doesn't 
> connect. Both applications run alone. I also switched the port in 
> the Transport Class of APGAS, without  success. I don't know what to
> do now. What requirements must be met?
> 
> Thanks and many greetings
> Jonas Posner
> 
------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users



------------------------------------------------------------------------------
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to