Changeset b7fbc4 in git for Tst/Short/parallel_s.tst


Ignore:
Timestamp:
Dec 4, 2013, 8:50:48 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
6c8ba30f3cbc3b424a708defb57649b060a4b243843b28b90e7bb33ae285dcdd56c7dc85a67490f8
Parents:
2e553acee0b24bae7b2fe1cb119ef17007180257c5c7aa0443a28ee851d552fdd34d96d06af91ae1
Message:
Merge pull request #439 from steenpass/parallel_sw

new parallel.lib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Tst/Short/parallel_s.tst

    r2e553a rb7fbc4  
    33
    44LIB "parallel.lib";
    5 LIB "primdec.lib";
    65
    7 ring r = 0, (x,y,z), lp;
    8 ideal i = z8+z6+4z5+4z3+4z2+4, y-z2;
    9 ideal j = 3x3y+x3+xy3+y2z2, 2x3z-xy-xz3-y4-z2, 2x2yz-2xy2+xz2-y4;
    10 list commands = list("std", "primdecGTZ", "primdecSY",
    11                      "std", "primdecGTZ", "primdecSY");
    12 list args = list(list(i), list(i), list(i),
    13                  list(j), list(j), list(j));
    14 parallelWaitN(commands, args, 3);
     6ring R1 = 0, (x,y,z), lp;
     7ideal I = 3x3y+x3+xy3+y2z2, 2x3z-xy-xz3-y4-z2, 2x2yz-2xy2+xz2-y4;
     8ideal J = x10+x9y2, x2y7-y8;
     9list commands = list("std", "std");
     10list arguments = list(list(I), list(J));
     11parallelWaitN(commands, arguments, 1);
     12parallelWaitFirst(commands, arguments);
    1513
    16 commands = list("primdecGTZ", "primdecSY");
    17 args = list(list(i), list(i));
    18 //parallelWaitFirst(commands, args); // not reproducable!
     14ring R2 = 0, (x,y,z), dp;
     15ideal I1 = z8+z6+4z5+4z3+4z2+4, -z2+y;
     16ideal I2 = x9y2+x10, x2y7-y8;
     17ideal I3 = x3-2xy, x2y-2y2+x;
     18string command = "std";
     19list arguments = list(list(I1), list(I2), list(I3));
     20parallelWaitAll(command, arguments);
    1921
    20 ring s = 0, (x,y,z), dp;
    21 ideal i1 = z8+z6+4z5+4z3+4z2+4, y-z2;
    22 ideal i2 = x10+x9y2, y8-x2y7;
    23 ideal i3 = x3-2xy, x2y-2y2+x;
    24 string command = "std";
    25 list args = list(list(i1), list(i2), list(i3));
    26 parallelWaitAll(command, args);
     22ring R3 = 0, (x,y,z), dp;
     23ideal I = x, y, z;
     24intvec v = 0:3;
     25list l = list(I, v);
     26module m1 = x*gen(1);
     27module m2;
     28command = "size";
     29list arguments1 = list(list(I), list(v), list(l), list(m1));
     30list arguments2 = list(list(I), list(v), list(l), list(m2));
     31parallelTestAND(command, arguments1);
     32parallelTestAND(command, arguments2);
     33
     34ring R4 = 0, (x,y,z), dp;
     35ideal I;
     36string s;
     37list l;
     38module m1 = x*gen(1);
     39module m2;
     40command = "size";
     41list arguments1 = list(list(I), list(s), list(l), list(m1));
     42list arguments2 = list(list(I), list(s), list(l), list(m2));
     43parallelTestOR(command, arguments1);
     44parallelTestOR(command, arguments2);
    2745
    2846tst_status(1);$
Note: See TracChangeset for help on using the changeset viewer.