Parallel computations of Grbner bases in the Weyl algebra Something - - PowerPoint PPT Presentation

parallel computations of gr bner bases in the weyl algebra
SMART_READER_LITE
LIVE PREVIEW

Parallel computations of Grbner bases in the Weyl algebra Something - - PowerPoint PPT Presentation

Weyl algebra Grbner basis Faugres F 4 algorithm Parallel computations of Grbner bases in the Weyl algebra Something to run on a machine with 128 cores Anton Leykin Institute for Mathematics and its Applications, Minneapolis MSRI,


slide-1
SLIDE 1

Weyl algebra Gröbner basis Faugére’s F4 algorithm

Parallel computations of Gröbner bases in the Weyl algebra

Something to run on a machine with 128 cores Anton Leykin

Institute for Mathematics and its Applications, Minneapolis

MSRI, Berkeley, 2007

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-2
SLIDE 2

Weyl algebra Gröbner basis Faugére’s F4 algorithm What is Weyl algebra?

Definition (n-th Weyl algebra over field K of characteristic 0) D = An(K) = Kx, ∂ = Kx1, ∂1, . . . , xn, ∂n, where [∂i, xi] = ∂ixi − xi∂i = 1 and all other pairs commute. Multiplication in Weyl algebra: Leibnitz rule An = Kx1, . . . , xn, ∂1, . . . , ∂n then for P, Q ∈ An PQ =

  • α∈Zn

1 α!Diff(P, ∂α) ∗ Diff(Q, xα), where Diff is a formal partial derivative (as if P, Q are polynomials) and ∗ is the polynomial multiplication. Weyl algebra in computer algebra systems kan/sm1, risa/asir (Takayama, Noro); Macaulay 2 (Grayson, Stillman), D-modules for M2 (A.L., Tsai); Singular/Plural (Levandovskyy); CoCoA (group in Genova, Italy).

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-3
SLIDE 3

Weyl algebra Gröbner basis Faugére’s F4 algorithm What is Weyl algebra?

Definition (n-th Weyl algebra over field K of characteristic 0) D = An(K) = Kx, ∂ = Kx1, ∂1, . . . , xn, ∂n, where [∂i, xi] = ∂ixi − xi∂i = 1 and all other pairs commute. Multiplication in Weyl algebra: Leibnitz rule An = Kx1, . . . , xn, ∂1, . . . , ∂n then for P, Q ∈ An PQ =

  • α∈Zn

1 α!Diff(P, ∂α) ∗ Diff(Q, xα), where Diff is a formal partial derivative (as if P, Q are polynomials) and ∗ is the polynomial multiplication. Weyl algebra in computer algebra systems kan/sm1, risa/asir (Takayama, Noro); Macaulay 2 (Grayson, Stillman), D-modules for M2 (A.L., Tsai); Singular/Plural (Levandovskyy); CoCoA (group in Genova, Italy).

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-4
SLIDE 4

Weyl algebra Gröbner basis Faugére’s F4 algorithm What is Weyl algebra?

Definition (n-th Weyl algebra over field K of characteristic 0) D = An(K) = Kx, ∂ = Kx1, ∂1, . . . , xn, ∂n, where [∂i, xi] = ∂ixi − xi∂i = 1 and all other pairs commute. Multiplication in Weyl algebra: Leibnitz rule An = Kx1, . . . , xn, ∂1, . . . , ∂n then for P, Q ∈ An PQ =

  • α∈Zn

1 α!Diff(P, ∂α) ∗ Diff(Q, xα), where Diff is a formal partial derivative (as if P, Q are polynomials) and ∗ is the polynomial multiplication. Weyl algebra in computer algebra systems kan/sm1, risa/asir (Takayama, Noro); Macaulay 2 (Grayson, Stillman), D-modules for M2 (A.L., Tsai); Singular/Plural (Levandovskyy); CoCoA (group in Genova, Italy).

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-5
SLIDE 5

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let R be a Gröbner-friendly algebra (think: R = K[x1, . . . , xn]). Definition Given a fixed admissible monomial ordering, a polynomial f ∈ R has initial monomial lm(f); initial coefficient lc(f); initial term lt(f) = lc(f) lm(f). Algorithm REDUCE(f, B) In: f ∈ R, B ⊂ R Out: a reduction of f w.r.t B f ′ := f WHILE ∃g ∈ B such that lm(f ′) is divisible by lm(g); DO f ′ := f ′ − lt(f ′) lt(g) · g RETURN f ′

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-6
SLIDE 6

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let R be a Gröbner-friendly algebra (think: R = K[x1, . . . , xn]). Definition Given a fixed admissible monomial ordering, a polynomial f ∈ R has initial monomial lm(f); initial coefficient lc(f); initial term lt(f) = lc(f) lm(f). Algorithm REDUCE(f, B) In: f ∈ R, B ⊂ R Out: a reduction of f w.r.t B f ′ := f WHILE ∃g ∈ B such that lm(f ′) is divisible by lm(g); DO f ′ := f ′ − lt(f ′) lt(g) · g RETURN f ′

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-7
SLIDE 7

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let R be a Gröbner-friendly algebra (think: R = K[x1, . . . , xn]). Definition Given a fixed admissible monomial ordering, a polynomial f ∈ R has initial monomial lm(f); initial coefficient lc(f); initial term lt(f) = lc(f) lm(f). Algorithm REDUCE(f, B) In: f ∈ R, B ⊂ R Out: a reduction of f w.r.t B f ′ := f WHILE ∃g ∈ B such that lm(f ′) is divisible by lm(g); DO f ′ := f ′ − lt(f ′) lt(g) · g RETURN f ′

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-8
SLIDE 8

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let R be a Gröbner-friendly algebra (think: R = K[x1, . . . , xn]). Definition Given a fixed admissible monomial ordering, a polynomial f ∈ R has initial monomial lm(f); initial coefficient lc(f); initial term lt(f) = lc(f) lm(f). Algorithm REDUCE(f, B) In: f ∈ R, B ⊂ R Out: a reduction of f w.r.t B f ′ := f WHILE ∃g ∈ B such that lm(f ′) is divisible by lm(g); DO f ′ := f ′ − lt(f ′) lt(g) · g RETURN f ′

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-9
SLIDE 9

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let R be a Gröbner-friendly algebra (think: R = K[x1, . . . , xn]). Definition Given a fixed admissible monomial ordering, a polynomial f ∈ R has initial monomial lm(f); initial coefficient lc(f); initial term lt(f) = lc(f) lm(f). Algorithm REDUCE(f, B) In: f ∈ R, B ⊂ R Out: a reduction of f w.r.t B f ′ := f WHILE ∃g ∈ B such that lm(f ′) is divisible by lm(g); DO f ′ := f ′ − lt(f ′) lt(g) · g RETURN f ′

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-10
SLIDE 10

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let L(f, g) = lcm(lm(f), lm(g)). Definition (s-polynomial of f and g) sPoly(f, g) = lc(g)L(f, g) lm(f) f − lc(f)L(f, g) lm(g) g. Definition A set G ⊂ R is a Gröbner basis of a left ideal I ⊂ R if I = R · G and gr(R) · {LM(f)|f ∈ I} = gr(R) · {LM(g)|g ∈ G}, where gr(R) is the graded ring associated to R. Buchberger criterion A set G ⊂ R is a Gröbner basis if REDUCE(sPoly(f, g), G) = 0 for all f, g ∈ G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-11
SLIDE 11

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let L(f, g) = lcm(lm(f), lm(g)). Definition (s-polynomial of f and g) sPoly(f, g) = lc(g)L(f, g) lm(f) f − lc(f)L(f, g) lm(g) g. Definition A set G ⊂ R is a Gröbner basis of a left ideal I ⊂ R if I = R · G and gr(R) · {LM(f)|f ∈ I} = gr(R) · {LM(g)|g ∈ G}, where gr(R) is the graded ring associated to R. Buchberger criterion A set G ⊂ R is a Gröbner basis if REDUCE(sPoly(f, g), G) = 0 for all f, g ∈ G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-12
SLIDE 12

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Let L(f, g) = lcm(lm(f), lm(g)). Definition (s-polynomial of f and g) sPoly(f, g) = lc(g)L(f, g) lm(f) f − lc(f)L(f, g) lm(g) g. Definition A set G ⊂ R is a Gröbner basis of a left ideal I ⊂ R if I = R · G and gr(R) · {LM(f)|f ∈ I} = gr(R) · {LM(g)|g ∈ G}, where gr(R) is the graded ring associated to R. Buchberger criterion A set G ⊂ R is a Gröbner basis if REDUCE(sPoly(f, g), G) = 0 for all f, g ∈ G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-13
SLIDE 13

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Buchberger algorithm Given a generating set B of an ideal of R, algorithm BUCHBERGER(B) computes a Gröbner basis G: G := B S := {(f1, f2)|f1, f2 ∈ B} // queue of s-pairs WHILE S = ∅; DO Pick (f1, f2) ∈ S, S := S \ {(f1, f2)} g := REDUCE(sPoly(f1, f2), G) IF g = 0 THEN S := S ∪ {(f, g)|f ∈ G} G := G ∪ {g} END WHILE RETURN G In the Weyl algebra... the basic version works; improved (Gebauer, Möller) version needs modifications.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-14
SLIDE 14

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Buchberger algorithm Given a generating set B of an ideal of R, algorithm BUCHBERGER(B) computes a Gröbner basis G: G := B S := {(f1, f2)|f1, f2 ∈ B} // queue of s-pairs WHILE S = ∅; DO Pick (f1, f2) ∈ S, S := S \ {(f1, f2)} g := REDUCE(sPoly(f1, f2), G) IF g = 0 THEN S := S ∪ {(f, g)|f ∈ G} G := G ∪ {g} END WHILE RETURN G In the Weyl algebra... the basic version works; improved (Gebauer, Möller) version needs modifications.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-15
SLIDE 15

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Buchberger algorithm Given a generating set B of an ideal of R, algorithm BUCHBERGER(B) computes a Gröbner basis G: G := B S := {(f1, f2)|f1, f2 ∈ B} // queue of s-pairs WHILE S = ∅; DO Pick (f1, f2) ∈ S, S := S \ {(f1, f2)} g := REDUCE(sPoly(f1, f2), G) IF g = 0 THEN S := S ∪ {(f, g)|f ∈ G} G := G ∪ {g} END WHILE RETURN G In the Weyl algebra... the basic version works; improved (Gebauer, Möller) version needs modifications.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-16
SLIDE 16

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Buchberger algorithm Given a generating set B of an ideal of R, algorithm BUCHBERGER(B) computes a Gröbner basis G: G := B S := {(f1, f2)|f1, f2 ∈ B} // queue of s-pairs WHILE S = ∅; DO Pick (f1, f2) ∈ S, S := S \ {(f1, f2)} g := REDUCE(sPoly(f1, f2), G) IF g = 0 THEN S := S ∪ {(f, g)|f ∈ G} G := G ∪ {g} END WHILE RETURN G In the Weyl algebra... the basic version works; improved (Gebauer, Möller) version needs modifications.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-17
SLIDE 17

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-18
SLIDE 18

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-19
SLIDE 19

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-20
SLIDE 20

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-21
SLIDE 21

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-22
SLIDE 22

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-23
SLIDE 23

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-24
SLIDE 24

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-25
SLIDE 25

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-26
SLIDE 26

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-27
SLIDE 27

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Prior work on parallel computation of Gröbner bases Buchberger (1987) Bündgen - Göbel - Küchlin (1994) Chakrabarti - Yelick (1994) Faugére (1994) Siegl (1994) Sawada - Terasaki - Aiba (1994) Attardi - Traverso (1996) Amrhein - Gloor - Kuchlin (1996) Sato - Suzuki (1999,2000) Gerdt - Yanovich (2005)

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-28
SLIDE 28

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-29
SLIDE 29

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-30
SLIDE 30

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-31
SLIDE 31

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-32
SLIDE 32

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-33
SLIDE 33

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-34
SLIDE 34

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-35
SLIDE 35

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-36
SLIDE 36

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-37
SLIDE 37

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

maintains an intermediate basis G and the queue of s-pairs S; distributes orders to Slaves; collects results and updates G and S. stores a local basis G; receives orders from Master and send back the results; receives updates for G.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-38
SLIDE 38

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-39
SLIDE 39

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-40
SLIDE 40

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-41
SLIDE 41

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-42
SLIDE 42

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-43
SLIDE 43

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-44
SLIDE 44

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-45
SLIDE 45

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger

Key point: The order of s-pairs the same as in the serial algorithm. The strategies used for s-pair selection are preserved. Implementation: C++ with MPI implemented from scratch in C++; uses MPI for communications; tested on clusters in the Minnesota Supercomputing Institute and NCSA. Simulation of parallel computation Assumptions:

  • perations performed by Master are instantaneous;

time for sending a package from one node to another depends linearly on its size.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-46
SLIDE 46

Weyl algebra Gröbner basis Faugére’s F4 algorithm Buchberger algorithm Parallel Buchberger Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-47
SLIDE 47

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Faugére’s F4: can be adapted for Gröbner-friendly algebras; implementations: Noro (risa/asir) for Weyl algebra, Pearce - Monagan (Maple) Ore algebras; loss of sparsity: multiplication of an operator by monomial increases the number of terms. Example Let D = A2 = Kx1, x2, ∂1, ∂2, f1 = x2

1∂3 2, f2 = x3 2∂2

  • 1. F4 starts

computing a Gröbner basis of ideal D · {f1, f2} with the matrix x2

1∂3 2

x3

2∂2 1

f1 1 f2 1

  • Anton Leykin

Parallel computations of Gröbner bases in the Weyl algebra

slide-48
SLIDE 48

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Faugére’s F4: can be adapted for Gröbner-friendly algebras; implementations: Noro (risa/asir) for Weyl algebra, Pearce - Monagan (Maple) Ore algebras; loss of sparsity: multiplication of an operator by monomial increases the number of terms. Example Let D = A2 = Kx1, x2, ∂1, ∂2, f1 = x2

1∂3 2, f2 = x3 2∂2

  • 1. F4 starts

computing a Gröbner basis of ideal D · {f1, f2} with the matrix x2

1∂3 2

x3

2∂2 1

f1 1 f2 1

  • Anton Leykin

Parallel computations of Gröbner bases in the Weyl algebra

slide-49
SLIDE 49

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Faugére’s F4: can be adapted for Gröbner-friendly algebras; implementations: Noro (risa/asir) for Weyl algebra, Pearce - Monagan (Maple) Ore algebras; loss of sparsity: multiplication of an operator by monomial increases the number of terms. Example Let D = A2 = Kx1, x2, ∂1, ∂2, f1 = x2

1∂3 2, f2 = x3 2∂2

  • 1. F4 starts

computing a Gröbner basis of ideal D · {f1, f2} with the matrix x2

1∂3 2

x3

2∂2 1

f1 1 f2 1

  • Anton Leykin

Parallel computations of Gröbner bases in the Weyl algebra

slide-50
SLIDE 50

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Faugére’s F4: can be adapted for Gröbner-friendly algebras; implementations: Noro (risa/asir) for Weyl algebra, Pearce - Monagan (Maple) Ore algebras; loss of sparsity: multiplication of an operator by monomial increases the number of terms. Example Let D = A2 = Kx1, x2, ∂1, ∂2, f1 = x2

1∂3 2, f2 = x3 2∂2

  • 1. F4 starts

computing a Gröbner basis of ideal D · {f1, f2} with the matrix x2

1∂3 2

x3

2∂2 1

f1 1 f2 1

  • Anton Leykin

Parallel computations of Gröbner bases in the Weyl algebra

slide-51
SLIDE 51

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

The second step builds the following matrix:

✷ ✻ ✻ ✻ ✹ x2

1x3 2∂2 1∂3 2

x2

1x2 2∂2 1∂2 2

x1x3

2∂1∂3 2

x2

1x2∂2 1∂2

x3

2∂3 2

x3

2∂2 1

x2

1∂3 2

x2

1∂2 1

f1 1 f2 1 f1f2 1 9 18 1 f2f1 1 4 1 ✸ ✼ ✼ ✼ ✺

Help! Structured Gaussian elimination? ... (over a finite field) ... ... in parallel?

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-52
SLIDE 52

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

The second step builds the following matrix:

✷ ✻ ✻ ✻ ✹ x2

1x3 2∂2 1∂3 2

x2

1x2 2∂2 1∂2 2

x1x3

2∂1∂3 2

x2

1x2∂2 1∂2

x3

2∂3 2

x3

2∂2 1

x2

1∂3 2

x2

1∂2 1

f1 1 f2 1 f1f2 1 9 18 1 f2f1 1 4 1 ✸ ✼ ✼ ✼ ✺

Help! Structured Gaussian elimination? ... (over a finite field) ... ... in parallel?

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-53
SLIDE 53

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

The second step builds the following matrix:

✷ ✻ ✻ ✻ ✹ x2

1x3 2∂2 1∂3 2

x2

1x2 2∂2 1∂2 2

x1x3

2∂1∂3 2

x2

1x2∂2 1∂2

x3

2∂3 2

x3

2∂2 1

x2

1∂3 2

x2

1∂2 1

f1 1 f2 1 f1f2 1 9 18 1 f2f1 1 4 1 ✸ ✼ ✼ ✼ ✺

Help! Structured Gaussian elimination? ... (over a finite field) ... ... in parallel?

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-54
SLIDE 54

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-55
SLIDE 55

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-56
SLIDE 56

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-57
SLIDE 57

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-58
SLIDE 58

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-59
SLIDE 59

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-60
SLIDE 60

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-61
SLIDE 61

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra

slide-62
SLIDE 62

Weyl algebra Gröbner basis Faugére’s F4 algorithm ... for Weyl algebra Loss of sparsity

Conclusion

Parallel versions of Buchberger’s algorithm can produce limited speedups; Our coarse-grain approach exhibits better speedups in the noncommutative algebra than in the (commutative) polynomial rings on “interesting” problems of similar size. It does make sense to use 128 nodes on this problem! Future From theory to practice: a practically efficient parallel implementation is needed; Faugére’s F4 algorithm results in the loss of sparsity in the intermediate computation... ... however, it still feasible and its parallel version could be constructed; Agreeing on the test/benchmark set.

Anton Leykin Parallel computations of Gröbner bases in the Weyl algebra