[eq-dev] Running eVolve on 2 machines using client-mode

1 view
Skip to first unread message

cpapado

unread,
Feb 3, 2010, 4:28:16 PM2/3/10
to eq-...@equalizergraphics.com

Greetings everyone!

I am a researcher at Stony Brook University, trying to get acquainted with
Equalizer. Part of my work is getting the framework up and running in our
Immersive Cabin. However, I am hitting some snags early on in the process.

I am trying to get the basic eVolve demo runing across 2 machines. My
configuration file looks as follows:

#Equalizer 1.0 ascii

# 'Hello, World!' config: one window rendering from the application process.
server
{
connection { type TCPIP
TCPIP_port 4243}
config
{
appNode
{
pipe
{
window
{
viewport [ 0.1 0.25 0.4 0.4 ]

channel { name "channel1" }
}
}
}
node
{
connection { TCPIP_port 4243 hostname "192.168.137.3" }
pipe
{
window
{
viewport [ 0.5 0.25 0.4 0.4 ]

channel { name "channel2" }
}
}
}

layout
{
name "simple"
view {}
}

layout
{
name "half1"
view
{
viewport [ 0 0 .5 1 ]
wall
{
bottom_left [ -.32 -.40 -.75 ]
bottom_right [ .32 -.40 -.75 ]
top_left [ -.32 .40 -.75 ]
}
}
}
layout
{
name "half2"
view
{
viewport [ .5 0 .5 1 ]
wall
{
bottom_left [ -.32 -.40 -.75 ]
bottom_right [ .32 -.40 -.75 ]
top_left [ -.32 .40 -.75 ]
}
}
}

canvas
{
layout "simple"
layout "half1"
layout "half2"
wall
{
bottom_left [ -.32 -.20 -.75 ]
bottom_right [ .32 -.20 -.75 ]
top_left [ -.32 .20 -.75 ]
}

segment
{
viewport [ 0 0 .5 1 ]
channel "channel1"
}
segment
{
viewport [ .5 0 .5 1 ]
channel "channel2"
}
}

compound
{
channel ( segment 0 view 0 )
}
compound
{
channel ( segment 1 view 0 )
}
compound
{
channel ( segment 0 layout "half1" view 0 )
}
compound
{
channel ( segment 1 layout "half2" view 0 )
}
}
}


Basically, it's the default 2-node-layout config file that ships with the
distribution, only with the IP addresses of our development machine.

I start my client machine using as follows:

eVolve.exe -r -- --eq-client --eq-listen 192.168.1.3:4243

and then start the server as follows:

eVolve.exe -m ..\examples\eVolve\Bucky32x32x32_d.raw -- --eq-config
2-node.layout.eqc

On the server side, a rendering window actually pops up momentarily. The
command line output is about the node channel failing to initialize and the
connection to the node being forcibly closed (if you need the full text,
just let me know, I just figured I'd save everyone the time of a gruesome
copy/paste).

On the client side more interestingly I am getting the following:
Inside socketconnection.cpp "Can't resolve host cluster-server", where
cluster-server is the host-name for the server machine. This is very
peculiar since at no point do I mention the hostname in the configuration
file.

Is this a bug in EQ? Or am I getting something wrong in my config file?

Any help is greatly appreciated!

PS: The ultimate goal of my work is to ressurect / restart eqOgre, but I
don't want to get ahead of myself with this post :-).


--
View this message in context: http://n2.nabble.com/Running-eVolve-on-2-machines-using-client-mode-tp4509953p4509953.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Stefan Eilemann

unread,
Feb 4, 2010, 2:55:57 AM2/4/10
to Equalizer Developer List
Hello,

On 3. Feb 2010, at 22:28, cpapado [via Software] wrote:

> I start my client machine using as follows:
>
> eVolve.exe -r -- --eq-client --eq-listen 192.168.1.3:4243
>
> and then start the server as follows:
>
> eVolve.exe -m ..\examples\eVolve\Bucky32x32x32_d.raw -- --eq-config 2-node.layout.eqc
>
> On the server side, a rendering window actually pops up momentarily. The command line output is about the node channel failing to initialize and the connection to the node being forcibly closed (if you need the full text, just let me know, I just figured I'd save everyone the time of a gruesome copy/paste).
>
> On the client side more interestingly I am getting the following:
> Inside socketconnection.cpp "Can't resolve host cluster-server", where cluster-server is the host-name for the server machine. This is very peculiar since at no point do I mention the hostname in the configuration file.
>
> Is this a bug in EQ? Or am I getting something wrong in my config file?

You also have to add a connection description for the server, so that the client can find its way back to him. The server determines its connection using getHostname(), and this is 'cluster-server' in your case which apparently is not resolvable on your client hosts.

Alternatively you can make sure that the hostname of each machine resolves to an IP address reachable from all other nodes.


HTH,

Stefan.

Reply all
Reply to author
Forward
0 new messages