help-octave
[Top][All Lists]
Advanced

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

long pause before exiting


From: Hwanjo Heo
Subject: long pause before exiting
Date: Thu, 21 Jan 2010 02:47:17 -0500

Hello,

I'm using Octave to solve multiple automatically generate equations from my 
perl scripts.

For example, a file named test1 with the following commands is generated,

-------------------------------
function y = f (x)
...
...
endfunction

[x,info] = fsolve ("f", [1; 2])
--------------------------------

and I use a command like "octave test1 2>&1" and parse the standard output 
lines to retrieve the roots.

The problem is that solving a simple equation takes more than 15 seconds and I 
suspect the major delay is
contributed by a long pause exiting Octave. There is a significant delay 
between outputing "info = 1" and 
quitting Octave. Even launching Octave and quitting it immediately using the 
quit command takes more than 
15 seconds because of the long pause after commanding quit.

---------------------------------
$ uname -a
Linux anecdotos.cs.purdue.edu 2.6.25.20 #2 SMP Wed Nov 19 12:37:02 EST 2008 
x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

$ octave
GNU Octave, version 2.1.73 (x86_64-pc-linux-gnu).
Copyright (C) 2006 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

octave:1> quit

$
--------------------------------

Is this normal? Can I accelerate the quitting process in some ways?

Thank you,
Hwanjo




 


reply via email to

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