Re: parallel for

Kai Torben Ohlhus <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
On 9/3/20 8:32 AM, amin izadi wrote:
> Hi
> I have Octave 5.1.0 and I want to install parallel package on my ubuntu
> 64 bit. But after using " pkg install -forge parallel", this error
> appears: " parallel needs struct >= 1.0.12".
> please help me and tell me how to fix the problem. Is the any
> straight "parfor" like Matlab in octave?
> thanks in advance
> 


Unlike in Ubuntu, the "pkg" package manager of Octave is not (yet) able
to resolve dependencies on its own.  Just install the dependency first:

   pkg install -forge struct
   pkg install -forge parallel

Sorry for the inconvenience.

HTH,
Kai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.