[GRASS5] New socket code report

Hi Eric

Congratulations, the socket code compiles and works on SGI's! A few
observations from a quick trial run.

I put a monitor using fifos and one using sockets side by side and
rendered the elevation.dem raster map from spearfish in both. After
rendering several times the sockets seemed to behave slightly faster
overall. However, there were times when the fifos were faster. Several
things need to be taken into account though, like shared resources,
network activity (I was logged in remotely), etc. But the sockets were
faster more often.

The close on click feature works fine, and there is no backing store
problem either.

The only problems I saw (2 of them) concern interaction with tcltkgrass.
They are probably related since they deal with stopping the monitors. If
you choose to stop a monitor in tcltkgrass, or choose the "stop all x
monitors" option when you quit, it seems that Grass kills the monitors
(after stopping x0 I can start x0 again), but the actual windows remain
on the screen. Starting another x0 opens a new window, giving two
windows labeled x0. Of course, only one of them accepts graphics
commands. Note that this effect does not happen if I use the d.mon
command from the Grass shell, only with tcltkgrass. I'm not sure what's
happening with that one.

Anyway, thanks again for the great work. I think we should make sockets
the default process communication mechanism since it eliminates the
createfifos.sh script.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

One thing I forgot to mention was that I tried what Markus did (ie close
the monitor with a click, then try d.rast) and I did not need to use
Ctrl-C to quit d.rast. It terminated normally. I'm not sure what that
means.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Tue, Feb 13, 2001 at 11:07:56AM +0700, Justin Hickey wrote:

Hi Eric

Congratulations, the socket code compiles and works on SGI's! A few
observations from a quick trial run.

Good to hear it's working on SGI, now only 10e23 platforms to go... :wink:

The only problems I saw (2 of them) concern interaction with tcltkgrass.
They are probably related since they deal with stopping the monitors. If
you choose to stop a monitor in tcltkgrass, or choose the "stop all x
monitors" option when you quit, it seems that Grass kills the monitors
(after stopping x0 I can start x0 again), but the actual windows remain
on the screen. Starting another x0 opens a new window, giving two
windows labeled x0. Of course, only one of them accepts graphics
commands. Note that this effect does not happen if I use the d.mon
command from the Grass shell, only with tcltkgrass. I'm not sure what's
happening with that one.

Weird. I hardly ever use TclTkGrass, so I haven't even checked. I don't
know what it does to close all the monitors; I assumed it would just
shell out a "d.mon stop=x<n>" for each monitor. I dunno?

Anyway, thanks again for the great work. I think we should make sockets
the default process communication mechanism since it eliminates the
createfifos.sh script.

Well, that would be my position :wink: Of course, I'm biased...

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Eric,

great work! You have been setting up the sockets *very* quickly.

o Now all annoying messages are gone on Linux.
  Thanks for adding the d.mon hint.
o Solaris2.6/SUN: seems to work well with sockets (even remotely)

On Mon, Feb 12, 2001 at 10:46:32PM -0800, Eric G . Miller wrote:

On Tue, Feb 13, 2001 at 11:07:56AM +0700, Justin Hickey wrote:
Good to hear it's working on SGI, now only 10e23 platforms to go... :wink:

> The only problems I saw (2 of them) concern interaction with tcltkgrass.
> They are probably related since they deal with stopping the monitors. If
> you choose to stop a monitor in tcltkgrass, or choose the "stop all x
> monitors" option when you quit, it seems that Grass kills the monitors
> (after stopping x0 I can start x0 again), but the actual windows remain
> on the screen. Starting another x0 opens a new window, giving two
> windows labeled x0. Of course, only one of them accepts graphics
> commands. Note that this effect does not happen if I use the d.mon
> command from the Grass shell, only with tcltkgrass. I'm not sure what's
> happening with that one.

Weird. I hardly ever use TclTkGrass, so I haven't even checked. I don't
know what it does to close all the monitors; I assumed it would just
shell out a "d.mon stop=x<n>" for each monitor. I dunno?

Yes, this is what I understand from gui.tcl, line 1242 ff.
However, it doesn't work. Does anyone see the problem here?

> Anyway, thanks again for the great work. I think we should make sockets
> the default process communication mechanism since it eliminates the
> createfifos.sh script.

Well, that would be my position :wink: Of course, I'm biased...

I agree as well. Currently the favourite CRAY is compiling, what
about FreeBSD/MacOSX/WindowsCygnus?

Thanks for this important improvement,

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Tue, Feb 13, 2001 at 11:17:14AM +0700, Justin Hickey wrote:

One thing I forgot to mention was that I tried what Markus did (ie close
the monitor with a click, then try d.rast) and I did not need to use
Ctrl-C to quit d.rast. It terminated normally. I'm not sure what that
means.

Hi Justin,

Eric has fixed this, it's o.k. on Linux as well now.

Yours

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'