[eq-dev] two question about Eq on multi-nodes?
rick.changhui at gmail.com
Fri Feb 1 05:07:13 CET 2008
I tried to use EQ_CONNECTION_CATTR_LAUNCH_COMMAND_QUOTE with quate of (')
But the lastest version does still not working for two nodes, and the output
told me "bash: D:/Projects/Equalizer: No such file or directory". The full
if "D:\Projects\Equalizer svn\src\build\vs2005\win32\release", maybe the
the directory string caused it.
Then I go back to check the code of eqNet::Node::_createRemoteCommand in
Compared with the old version just like v0.4.1, it seems that 'stringStream'
the contents of the command to be included in a pair of double quotation
So I changed the code like this:
<< quote << program << quote << " -- --eq-client " << quote
<< remoteData << node->_launchID << SEPARATOR << node->_workDir
<< SEPARATOR << node->_id << SEPARATOR << getType() << SEPARATOR
<< serialize() << quote
then the eqServer can make the apps to run between two nodes.
So I guess the pair of double quotation marks is still needed. :)
btw, my OS is WinXP sp2.
The problem of vertical compound is caused by the different viewport
Ogre and Equalizer.
eq::Channel's pixel viewport is defind by bottow-left point, (0, 0) is the
ogre viewport is defind by top-left point, and (0, 0) is the top-left
So that need a conversion from eq::Channel to ogre viewport, just like
(Yogre = height - Yeq).
Thanks for your help. :)
2008/1/30, Stefan Eilemann <eilemann at gmail.com>:
> On 30. Jan 2008, at 12:21, 常辉 wrote:
> > Hi,
> > I tried eqOgre with svn version on multi nodes these two days, but
> > it seemed not working well. :<
> > At first, my cluster nodes are both installed WinXp with Cygwin ssh
> > installed.
> > Also I'v tested eqOgre with the stable version 0.4.1, that can work
> > well. :)
> > The first is that the remote client can't lauched automaticly.
> Here is the reason I introduced configurable quoting: <
> You can try setting EQ_CONNECTION_CATTR_LAUNCH_COMMAND_QUOTE to a
> single quote (').
> I've been told that this is also a good alternative on Windows:
> together with latest Equalizer version and this launch command:
> EQ_CONNECTION_SATTR_LAUNCH_COMMAND "psexec \\%h -u <user> -p
> <password> %c"
> I haven't found the time to try it out.
> > Another one is about the Channel pixel viewport
> > I found that the horizontal splitting of channel if right.
> > But I can't make it to split channel vertically well.
> > There is no more example in eqPly about compounds.
> > Could you give me some advice to new more about compounds?
> You simply adapt the viewport accordingly, i.e. instead of
> viewport [ 0 0 .5 1 ]
> viewport [ .5 0 .5 1 ]
> viewport [ 0 0 1 .5 ]
> viewport [ 0 .5 1 .5 ]
> the numbers are [ x y width height ], see also <
> eq-dev mailing list
> eq-dev at equalizergraphics.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the eq-dev