problem extending demo examples

"Smith, Ian" <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <3D579327B233AF47A9885B3E89E6C6DE036B926D@EVSSTAFF2.livad.liv.ac.uk>
Hi,

I'm having problems extending the crdemo_full.conf example to run
with more than one server. At present I'm happy just to run all
of the processes on a single host before trying them on our Linux
cluster. I think I've placed a crserver on port 7000 and another
on port 7001 (they are definitely listening there) but when I 
run the crappfaker I get this:

-bash-2.05b$ crappfaker
CR Warning(ulgbc2:31341): Couldn't find the CRMOTHERSHIP environment variable, defaulting to localhost
CR Warning(ulgbc2:31342): Couldn't find the CRMOTHERSHIP environment variable, defaulting to localhost
CR Error(ulgbc2:31342): Bad server specification for Pack SPU 2
CR Error(ulgbc2:31324): Mothership didn't like my accept request

Thank you for using Chromium!
CR Error(ulgbc2:31330): Mothership didn't like my accept request
[2]-  Done                    crserver

Any idea what the problem is here ? This is the conf file:

import sys
sys.path.append( '../server' )
from mothership import *

if len(sys.argv) > 3 or len(sys.argv) < 2:
        print 'Usage: %s <demo> [spu]' % sys.argv[0] 
        sys.exit(-1)

demo = sys.argv[1]

if len(sys.argv) == 3:
        clientspuname = sys.argv[2]
else:
        clientspuname = 'pack'

server_spu = SPU( 'render' )
client_spu = SPU( clientspuname )
worker_spu = SPU( 'render' )

server_spu.Conf( 'window_geometry', [500, 500, 500, 250] )
server_node = CRNetworkNode( )
server_node.AddSPU( server_spu )

worker_spu.Conf( 'window_geometry', [0, 0, 500, 250] )
worker_node = CRNetworkNode( )
worker_node.AddSPU( worker_spu )

if (clientspuname == 'tilesort' ):
        server_node.AddTile( 500, 500, 500, 250 )
        worker_node.AddTile( 0, 0, 500, 250 )

client_node = CRApplicationNode( )
client_node.AddSPU( client_spu )
client_spu.AddServer( server_node,  protocol='tcpip', port=7000 )
client_spu.AddServer( worker_node,  protocol='tcpip', port=7001 )

client_node.SetApplication( os.path.join(crbindir, demo) )
client_node.StartDir( crbindir )

cr = CR()
cr.MTU( 16*1024 )
cr.AddNode( client_node )
cr.AddNode( server_node )
cr.AddNode( worker_node )
cr.Go()NetworkNode( )

The original demo worked fine. I'm running under Red Hat Enterprise 
Linux AS release 3.

Any thoughts - I'm completely lost.

thanks,

-ian.

------------------------------
Dr Ian C. Smith
e-Science Team,
University of Liverpool,
Computing Services Department



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.