PyJuggler application in cluster-mode

16 views
Skip to first unread message

mari

unread,
Jan 7, 2014, 3:48:52 AM1/7/14
to vrjuggler...@googlegroups.com
Hi,

i have written an application in python for PyJuggler. The application runs stable.
Now i want to run the application in a cluster, but the console does not accept the "--vrjmaster", "--vrjslave" and "--listen_port" commands.
I have tested PyInstaller and the pyAppLoader application, that comes with PyJuggler.

Does someone have experience in running a PyJuggler apllication in cluster-mode or knows some documentation how to do this?

Thank you,
mari

Patrick Hartling

unread,
Jan 7, 2014, 11:45:25 AM1/7/14
to vrjuggler...@googlegroups.com
I am not sure what PyInstaller is, but it appears that I never got around to updating the PyJuggler example applications to pass command line arguments to vrj::Kernel::init(). If your application starts the kernel from Python, then you can pass sys.argv in to the init() method of your vrj.Kernel instance. If instead your application starts the kernel from C++ (as in the case of PyAppLoader), then you'll need to make some changes to your main() function to pass the command line arguments to vrj::Kernel::init(). These would probably be similar to what is explained in the documentation for a typical VR Juggler C++ application.

 -Patrick


--
Patrick L. Hartling
iOS Library Developer, Banno
http://www.banno.com/

mari

unread,
Jan 21, 2014, 3:24:51 AM1/21/14
to vrjuggler...@googlegroups.com
Thank you Patrick!

I have added an vrj::Kernel::init() call to the PyAppLoader. This works fine.
Reply all
Reply to author
Forward
0 new messages