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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Michael Wirtzfeld

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. 


Reply | Threaded
Open this post in threaded view
|

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

siko1056
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/