Skip to content
Mahrud Sayrafi edited this page Mar 12, 2021 · 1 revision

title: Parallelizing permalink: wiki/Parallelizing/ layout: wiki

Bill Furnish has made a good start modifying the source code of Macaulay2 to allow the use of multiple threads. This involves, for example, putting the pointer to the vector of values for the local variables (of the lexical scope currently executing) on the heap of each thread, instead of on the stack; and auditing the source code for non-reentrant use of static variables. Dan Grayson will modify the translator for the Safe-C language the interpreter is written in so assignment of Macaulay2 expressions (and other union types) is type safe. Both Dan Grayson and Mike Stillman will audit their code for non-reentrant use of static variables.

Clone this wiki locally