octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pipe communication betwenn octave and gnuplot (was Plotting with 3.2.0 o


From: Tatsuro MATSUOKA
Subject: pipe communication betwenn octave and gnuplot (was Plotting with 3.2.0 on Windows is SLOOOOOOWWWW)
Date: Thu, 30 Jul 2009 09:38:00 +0900 (JST)

Hello

The pipe communication of octave with gnuplot on windows sometimes gives 
slowness.
Please see
http://www.nabble.com/Plotting-with-3.2.0-on-Windows-is-SLOOOOOOWWWW-td24703690.html

I have looked at the code of octave_popen2 in liboctave/lo-sysdep.cc.
I have completely misled the matter.

The code is already implemented using win32 pipe functions by Michael.

2008-04-24  Michael Goffioul  <address@hidden>

        * lo-sysdep.cc (octave_popen2): Don't set PIPE_NOWAIT for parentWrite.


2007-02-16  Michael Goffioul  <address@hidden>

        * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on
        windows platform.
        * lo-sysdep.h (octave_popen2): Declare it.
        * oct-syscalls.cc (octave_syscalls::popen2): New function.
        * oct-syscalls.h (octave_syscalls::popen2): Declare it.

I feel that communication between octave and gnuplot on windows is slower than 
that on cygwin.
I do not know how cygwin  implement the posix pipe on windows but there is 
possibility to improve
the speed of pipe connection.

Anyway I would like to ask the cygwin ML how the posix pipe is implemented on 
cygwin after my work
today have finished.

Comments on this matter are highly appriciated!

Regards

Tatsuro
 
--- "John W. Eaton"  wrote:

> On 30-Jul-2009, Tatsuro MATSUOKA wrote:
> 
> | The above change gives errors;
> | 
> | error: __gnuplot_get_var__: Need mkfifo that is not implemented under 
> Windows
> | error: called from:
> | error:   
> C:\Programs\Octave\3.2.0_gcc-4.3.0\share\octave\3.2.0\m\plot\__gnuplot_get_var__.m
>  at
> line
> | 52, column 7
> 
> OK, so the current plotting scripts actually require 2-way
> communication with gnuplot to do anything useful.  So I guess you'll
> need to debug this problem in some other way.
> 
> jwe
> 



--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]