[Next][Prev] [Right] [____] [Up] [Index] [Root]
This chapter provides basic instructions for using the parallelism
facilities provided in the V2.26 release of Magma. This version of
Magma provides some general tools for implementing parallelism as
well as the explicit parallelisation of some key algorithms in the
areas of linear algebra, commutative algebra, integral lattices and
linear codes.
Subsections
The fact that Moore's law no longer applies to the development of
ever faster computers has greatly increased interest in exploiting
multiple processors for computations that use large amounts
of CPU time. In 2019 a project was commenced to develop tools
for parallelising some classes of computations in Magma.
Two approaches are being taken:-
- (i)
- The parallelisation of key algorithms in the Magma
kernel. This utilises multiple cores on a single compute node
using POSIX threads, multiple machines by distributing tasks
across a nework, and GPUs.
- (ii)
- A framework for the manager/worker model of parallelism
has been constructed which allows users to parallelise their Magma
code when the underlying algorithm lends itself to being parallelised.
A key element of this project has been the development of tools that
support asynchronous communication between copies of Magma running
on different machines. As part of this work, the serialisation of
Magma objects is being undertaken. This machinery is described in
the chapter on Input and Output.
In Magma 2.26-4 the execution of the following intrinsics is
parallelised:--
- (1)
- Multiplication of matrices over a finite field GF(pk),
where p is a prime such that 2 ≤p ≤223.5.
As a consequence, other intrinsics such as
EchelonForm, inverse (A - 1), Rank,
Determinant, Nullspace, RowSpace,
Solution, IsConsistent, and MinimalPolynomial
(if the Keller-Gehrig alorithm is specified) are
also parallelised.
- (2)
- Construction of a Gröbner basis for a system of
polynomials defined over a finite field GF(pk),
where p is a prime such that 2 ≤p ≤223.5.
- (3)
- Factorisation of a polynomial defined over a finite
field.
- (4)
- LLL reduction of an integral lattice.
- (5)
- Enumeration of vectors in a integral lattice having
small norm (intrinsics ShortVectors and
ShortestVectors. As a consequence the lattice
intrinsics Minimum, KissingNumber,
PackingRadius, HermiteNumber, CentreDensity,
Density, and ThetaSeries are also effectively
parallelised amongst others.
- (6)
- Enumeration of vectors in an integral lattice that are
close to a given vector which need not be in the lattice.
- (7)
- Minimum weight of a linear error-correcting code defined
over a finite field. As well as MinimumWeight,
the related intrinsics MinimumDistance and
MinimumWord are also parallelised.
- (8)
- Weight distribution of a linear error-correcting code
defined over a finite field. As well as WeightDistribution
the related intrinsics WeightEnumerator and
DualWeightDistribution are also parallelised.
[Next][Prev] [Right] [____] [Up] [Index] [Root]
Version: V2.26 of
Tue May 18 12:02:10 AEST 2021