Top
Back: parallelWaitFirst
Forward: realclassify_lib
FastBack: numerDecom_lib
FastForward: realclassify_lib
Up: parallel_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.16.3 parallelWaitAll

Procedure from library parallel.lib (see parallel_lib).

Usage:
parallelWaitAll(commands, args[, timeout, linktype, servers, maxmemory]); commands list or string, args list, timeout int, linktype string, servers list, maxmemory intvec

Return:
a list, containing the results of commands[i] applied to arg[i], i = 1, ..., size(commands).
The command parallelWaitAll(list commands, list args, list #) is synonymous to parallelWaitN(list commands, list args, size(args), list #). See parallelWaitN for details on optional arguments and other remarks.
If commands is of type string, this is a shortcut for a list of size size(args) whose entries are just this string.

Example:
 
LIB "parallel.lib";
ring r = 0, (x,y,z), dp;
ideal i1 = z8+z6+4z5+4z3+4z2+4, y-z2;
ideal i2 = x10+x9y2, y8-x2y7;
ideal i3 = x3-2xy, x2y-2y2+x;
string command = "std";
list args = list(list(i1), list(i2), list(i3));
parallelWaitAll(command, args);
==> [1]:
==>    _[1]=z2-y
==>    _[2]=y4+y3+4y2z+4yz+4y+4
==> [2]:
==>    _[1]=x2y7-y8
==>    _[2]=x9y2+x10
==>    _[3]=x12y+xy11
==>    _[4]=x13-xy12
==>    _[5]=y14+xy12
==>    _[6]=xy13+y12
==> [3]:
==>    _[1]=2y2-x
==>    _[2]=xy
==>    _[3]=x2
See also: MP links; Ssi links; waitall.


Top Back: parallelWaitFirst Forward: realclassify_lib FastBack: numerDecom_lib FastForward: realclassify_lib Up: parallel_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.