help-octave
[Top][All Lists]
Advanced

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

Re: Installing Parallel package with Mac OS X and Fink


From: Alexander Hansen
Subject: Re: Installing Parallel package with Mac OS X and Fink
Date: Fri, 7 Nov 2014 06:16:04 -0800

On Nov 7, 2014, at 6:07 AM, mpender <address@hidden> wrote:

> Thank you for the feedback.  I had tried fink install parallel without
> apparent success, so I was trying to install the library within Octave.  Now
> I did as you suggested and used fink to install the parallel-382 library and
> it seemed to go smoothly, but there were a lot of warnings about routines
> that shadow a core function and the pararrayfun statement is not recognized
> when I test it with an example:
> 
> octave:1> # fun is the function to apply 
> octave:1> fun = @(x) x^2;
> octave:2> 
> octave:2> vector_x = 1:10;
> octave:3> 
> octave:3> vector_y = pararrayfun(nproc, fun, vector_x)
> error: 'pararrayfun' undefined near line 1 column 12
> octave:3> 
> 
> I can see a pararrayfun.m routine at
> ./share/octave/3.8.2/packages/parallel-2.2.0/pararrayfun.m but it must not
> have become part of the Octave search path?
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Installing-Parallel-package-with-Mac-OS-X-and-Fink-tp4667247p4667256.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave


Fink doesn’t change the autoload setting for Octave Forge packages, so what’s 
probably going on here is just that you haven’t loaded parallel—since it’s set 
by default not to autoload.  You can use “pkg list” to verify whether or not it 
is loaded, and if not, then “pkg load parallel” will remedy that.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison




reply via email to

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