On Wed, Jul 07, 2010 at 10:52:36AM +0530, ravi shetye wrote: > >The error has possibly nothing to do with the parallel package --- it > >might just mean that pserver.oct is not in Octaves path. If you > >install the parallel package with pkg, the path should be > >automatically set, since parallel is marked as autoload (at least > >version 2.0.1). What does "pkg list" say? > > output of pkg list is as follows > > octave:1> pkg list > Package Name | Version | Installation directory > --------------+---------+----------------------- > parallel *| 2.0.0 | /usr/share/octave/packages/3.2/parallel-2.0.0 > > >But I wonder about the /3.2/ in your path to /server.m. I did not know > >that pkg can introduce a version specification into the path to > >m-files. Have you modified the path manually? Why? And are you sure > >that you did not build the parallel package (and so pserver.oct) with > >Octave-3.2.. (while above you try to use it with Octave-3.0.5)? > > > the 3.2 is the default location without me tampering . > when i ran the command sudo apt-get install octave-parallel > it shows dependency on octave3.2 and installs it
So probably the installed pserver.oct is compiled for Octave-3.2.., i.e. not usable with Octave-3.0.5 (and also not in its path). It should be used with Octave-3.2.. . > the pserver error comes with octave3.0 > > when working with octave 3.2 it generates a segmentation fault > > > octave -V /usr/share/octave/packages/3.2/parallel-2.0.0/server.m > GNU Octave, version 3.2.3 > Copyright (C) 2009 John W. Eaton and others. > This is free software; see the source code for copying conditions. > There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or > FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. > > Octave was configured for "x86_64-pc-linux-gnu". > > 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 <b...@octave.org> (but first, please read > http://www.octave.org/bugs.html to learn how to write a helpful report). > > For information about changes from previous versions, type `news'. > > executing commands from /usr/share/octave/3.2.3/m/startup/octaverc ... done. > > octave : domU-12-31-39-0E-B0-B2: server already running This message is from pserver.oct, so it is successfully called and was really compiled for Octave-3.2.. . Its not necessarily true that the server is already running, maybe there was a crash already then and the pid-file was not deleted in /tmp/. One could check whether 'ps ax | grep octave' gives the same as 'cat /tmp/.octave-domU-12-31-39-0E-B0-B2.pid'. > panic: Segmentation fault -- stopping myself... > attempting to save variables to `octave-core'... > save to `octave-core' complete > Segmentation fault I don't know where this crash comes from. May be not even from 'parallel'. You probably do not have the original version 2.0.0 of 'parallel' installed, since this did not compile at all with the Octave-3.2.. series. So it might help to install the original package from Octave-Forge manually. For Octave-3.2.., use parallel-2.0.1 (no such crash on my machine with Octave-3.2.4). For Octave-3.0.5, an earlier version of 'parallel' might work. Olaf ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev