Re: Suppress "Suppress "parcellfun: 239/500 jobs done" Output in Octave" Messages

Kai Torben Ohlhus <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
On 12/4/20 1:03 AM, Michael Wirtzfeld wrote:
> 
> Hello,
> 
> Is there a way to suppress these messages?  I'm using the PARARRAY 
> function in the Parallel package.
> 
>  From the package documentation, the PARCELLFUN does have a VERBOSE 
> option (default value is 0, which I assume means nothing is displayed; a 
> value of 1 makes progress messages print to STDERR.  There is not a 
> VERBOSE option for the PARARRAYFUN.
> 
> Suggestions?
> 
> Thank you.
> 


`pararrayfun` is more or less a wrapper for `parcellfun`.  Both 
functions accept the same options, the documentation is probably not 
up-to-date.

    fun = @(x) x^2;
    vector_x = 1:10;
    vector_y = pararrayfun (nproc, fun, vector_x, "VerboseLevel", 0);

Which version of the parallel-package do you use?  By default the 
verbose output should be suppressed.  The latest version is 4.0.0 [1].

HTH,
Kai


[1] https://octave.sourceforge.io/parallel/
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.