I'm a rookie to chromium. Now I can run the crdemo.conf on one node. But with my own config file with 2x1 layout, while I start crserver on the second node, I get the message:
Couldn't connect to localhost:10000, No route to host
Thanks for any help.
Cheers
Ruiying
here is my config file
# this is my first chromium config file about tile display
import sys
sys.path.append( '../server' )
from mothership import *
if len(sys.argv) > 33 or len(sys.argv) < 2:
print 'Usage: % <demo> [spu]' % sys.argv[0]
sys.exit(-1)
I'm a rookie to chromium. Now I can run the crdemo.conf on one node. But with my own config file with 2x1 layout, while I start crserver on the second node, I get the message:
Couldn't connect to localhost:10000, No route to host
Thanks for any help.
Cheers
Ruiying
here is my config file
# this is my first chromium config file about tile display
import sys
sys.path.append( '../server' )
from mothership import *
if len(sys.argv) > 33 or len(sys.argv) < 2:
print 'Usage: % <demo> [spu]' % sys.argv[0]
sys.exit(-1)
demo = sys.argv[1]
TILE_WIDTH = 1280
TILE_HEIGHT = 1024
appnode = CRApplicationNode( 'chrm-1' )
appnode.SetApplication( demo )
tilesortspu = SPU( 'tilesort' )
appnode.AddSPU( tilesortspu )
cr = CR()
cr.AddNode( appnode )
for col in range( 2 ):
renderspu = SPU( 'render' )
renderspu.Conf( 'fullscreen', 1 )
node = CRNetworkNode( 'chrm-%d' %( col+1 ))
node.AddTile ( col * TILE_WIDTH, 0, TILE_WIDTH, TILE_HEIGHT )
node.AddSPU( renderspu )
tilesortspu.AddServer( node, protocol = 'tcpip' )
cr.AddNode( node )
cr.Go()