Changeset b7fbc4 in git for Tst/Short/parallel_s.tst
 Timestamp:
 Dec 4, 2013, 8:50:48 PM (9 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
 Children:
 6c8ba30f3cbc3b424a708defb57649b060a4b243843b28b90e7bb33ae285dcdd56c7dc85a67490f8
 Parents:
 2e553acee0b24bae7b2fe1cb119ef17007180257c5c7aa0443a28ee851d552fdd34d96d06af91ae1
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Tst/Short/parallel_s.tst
r2e553a rb7fbc4 3 3 4 4 LIB "parallel.lib"; 5 LIB "primdec.lib";6 5 7 ring r = 0, (x,y,z), lp; 8 ideal i = z8+z6+4z5+4z3+4z2+4, yz2; 9 ideal j = 3x3y+x3+xy3+y2z2, 2x3zxyxz3y4z2, 2x2yz2xy2+xz2y4; 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); 6 ring R1 = 0, (x,y,z), lp; 7 ideal I = 3x3y+x3+xy3+y2z2, 2x3zxyxz3y4z2, 2x2yz2xy2+xz2y4; 8 ideal J = x10+x9y2, x2y7y8; 9 list commands = list("std", "std"); 10 list arguments = list(list(I), list(J)); 11 parallelWaitN(commands, arguments, 1); 12 parallelWaitFirst(commands, arguments); 15 13 16 commands = list("primdecGTZ", "primdecSY"); 17 args = list(list(i), list(i)); 18 //parallelWaitFirst(commands, args); // not reproducable! 14 ring R2 = 0, (x,y,z), dp; 15 ideal I1 = z8+z6+4z5+4z3+4z2+4, z2+y; 16 ideal I2 = x9y2+x10, x2y7y8; 17 ideal I3 = x32xy, x2y2y2+x; 18 string command = "std"; 19 list arguments = list(list(I1), list(I2), list(I3)); 20 parallelWaitAll(command, arguments); 19 21 20 ring s = 0, (x,y,z), dp; 21 ideal i1 = z8+z6+4z5+4z3+4z2+4, yz2; 22 ideal i2 = x10+x9y2, y8x2y7; 23 ideal i3 = x32xy, x2y2y2+x; 24 string command = "std"; 25 list args = list(list(i1), list(i2), list(i3)); 26 parallelWaitAll(command, args); 22 ring R3 = 0, (x,y,z), dp; 23 ideal I = x, y, z; 24 intvec v = 0:3; 25 list l = list(I, v); 26 module m1 = x*gen(1); 27 module m2; 28 command = "size"; 29 list arguments1 = list(list(I), list(v), list(l), list(m1)); 30 list arguments2 = list(list(I), list(v), list(l), list(m2)); 31 parallelTestAND(command, arguments1); 32 parallelTestAND(command, arguments2); 33 34 ring R4 = 0, (x,y,z), dp; 35 ideal I; 36 string s; 37 list l; 38 module m1 = x*gen(1); 39 module m2; 40 command = "size"; 41 list arguments1 = list(list(I), list(s), list(l), list(m1)); 42 list arguments2 = list(list(I), list(s), list(l), list(m2)); 43 parallelTestOR(command, arguments1); 44 parallelTestOR(command, arguments2); 27 45 28 46 tst_status(1);$
Note: See TracChangeset
for help on using the changeset viewer.