-
-
Notifications
You must be signed in to change notification settings - Fork 661
Description
This ticket implements parallelization of basic operations (arithmetics, contractions) on tensors on free modules of finite rank. The parallelization is performed by means of Python's module multiprocessing
, via the decorator @parallel
. It is implemented in computational methods of classes handling tensor components: sage.tensor.modules.comp.Components
and sage.tensor.modules.comp.CompWithSym
. The user can control the number of processes involved in the parallelization via the singleton class Parallelism
. The latter, introduced in this ticket, is actually generic and can be used in other parts of Sage.
This work is an extension of #15916, within the SageManifolds project (actually the code in this ticket is the basis for parallelization in SageManifolds 0.8). See the metaticket #18528 for an overview.
CC: @tscrim
Component: linear algebra
Keywords: parallelization, free module, tensor
Author: Marco Mancini
Branch: 21d1d70
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/18100