From: Smith, I. <I.C...@li...> - 2007-08-29 11:08:32
|
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=20 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]=20 sys.exit(-1) demo =3D sys.argv[1] if len(sys.argv) =3D=3D 3: clientspuname =3D sys.argv[2] else: clientspuname =3D 'pack' server_spu =3D SPU( 'render' ) client_spu =3D SPU( clientspuname ) worker_spu =3D SPU( 'render' ) server_spu.Conf( 'window_geometry', [500, 500, 500, 250] ) server_node =3D CRNetworkNode( ) server_node.AddSPU( server_spu ) worker_spu.Conf( 'window_geometry', [0, 0, 500, 250] ) worker_node =3D CRNetworkNode( ) worker_node.AddSPU( worker_spu ) if (clientspuname =3D=3D 'tilesort' ): server_node.AddTile( 500, 500, 500, 250 ) worker_node.AddTile( 0, 0, 500, 250 ) client_node =3D CRApplicationNode( ) client_node.AddSPU( client_spu ) client_spu.AddServer( server_node, protocol=3D'tcpip', port=3D7000 ) client_spu.AddServer( worker_node, protocol=3D'tcpip', port=3D7001 ) client_node.SetApplication( os.path.join(crbindir, demo) ) client_node.StartDir( crbindir ) cr =3D 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=20 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 |