Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 790E3200D2D for ; Fri, 27 Oct 2017 12:07:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 779CE160BFC; Fri, 27 Oct 2017 10:07:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BC63F160BF4 for ; Fri, 27 Oct 2017 12:07:16 +0200 (CEST) Received: (qmail 32964 invoked by uid 500); 27 Oct 2017 10:07:15 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 32937 invoked by uid 99); 27 Oct 2017 10:07:15 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2017 10:07:15 +0000 Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id D811D1A00CA for ; Fri, 27 Oct 2017 10:07:14 +0000 (UTC) Received: by mail-pg0-f53.google.com with SMTP id j3so4944905pga.1 for ; Fri, 27 Oct 2017 03:07:13 -0700 (PDT) X-Gm-Message-State: AMCzsaVgLSOWTfy3ozfdIZPrmksMsd9VHsEKZRLvHj6HnaX9Cl0NyRaH p4/Pv59PMGT31HlqpbFzK8UZc0nJXDNiqAHjaljGIA== X-Google-Smtp-Source: ABhQp+REcIaYpSLMWt1Q+KKOqEveUfrDVANUG6EnSaciwCRCjJ4gv28RLm3z0ZTKNwbnh4zwswjixMoyWIu7xNJEYaU= X-Received: by 10.99.56.71 with SMTP id h7mr5097876pgn.445.1509098833508; Fri, 27 Oct 2017 03:07:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.158.99 with HTTP; Fri, 27 Oct 2017 03:07:12 -0700 (PDT) In-Reply-To: <1509045976236-0.post@n6.nabble.com> References: <1508512234546-0.post@n6.nabble.com> <1508515614567-0.post@n6.nabble.com> <1508767476769-0.post@n6.nabble.com> <1508945753396-0.post@n6.nabble.com> <1509028266994-0.post@n6.nabble.com> <1509045976236-0.post@n6.nabble.com> From: Igor Sapego Date: Fri, 27 Oct 2017 13:07:12 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ComputeGrid API in C++ To: user Content-Type: multipart/alternative; boundary="f403045d270ee713cd055c847364" archived-at: Fri, 27 Oct 2017 10:07:17 -0000 --f403045d270ee713cd055c847364 Content-Type: text/plain; charset="UTF-8" Hi, Yes, you are right, Ignition::Start(cfg, "node1"). You don't need to set any specific properties, all you need to do is to register your classes on all nodes on all machines after you start them. > It just launches node1 within the same process as the application. That's right. You need to write an application that starts node and registers your classes. What is the problem? Best Regards, Igor On Thu, Oct 26, 2017 at 10:26 PM, asingh wrote: > Ignite node = Ignition::Start("node1"); > > The first argument to Start() needs to be an xml file. Are there any > specific properties that need to be set in the xml for this case? > If I call Start(cfg, "node1"), it just launches node1 within the same > process as the application. > > In the below diagram, what do I have to do to dispatch C1, C2, C3 to nodes > 1, 2 and 3, specially when nodes 1,2 and 3 are running on different > physical > machines? > > Compute Grid > > t1405/1db96a3-in_memory_compute.png> > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > --f403045d270ee713cd055c847364 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Yes, you are right, Ignition::Start(cfg, "node1"). You don't need to
set any specific properties, all y= ou need to do is to register your
classes on all nodes on all machines after you start them.<= /div>

> It just launches node1 within the same=C2=A0process as the application.
That= 's right. You need to write an application that starts node and<= /div>
registers your classes.

What is the problem?

Best Regards,
Igor
<= /div>
On Thu, Oct 26, 2017 at 10:26 PM, asingh <amitojsingh@gmail.com> wrote:
Ignite node =3D Ignition::Start("node1");<= br>
The first argument to Start() needs to be an xml file. Are there any=
specific properties that need to be set in the xml for this case?
If I call Start(cfg, "node1"), it just launches node1 within the = same
process as the application.

In the below diagram, what do I have to do to dispatch C1, C2, C3 to nodes<= br> 1, 2 and 3, specially when nodes 1,2 and 3 are running on different physica= l
machines?

=C2=A0 Compute Grid <https://files.readme.io= /1db96a3-in_memory_compute.png>

<http://ap= ache-ignite-users.70518.x6.nabble.com/file/t1405/1db96a3-in_memor= y_compute.png>

--f403045d270ee713cd055c847364--