Hi, I am the one that reported the issue with parallelization on sagemanifolds. I have run these examples http://doc.sagemath.org/html/en/reference/parallel/sage/parallel/multiprocessing_sage.html on macOSX and they worked. Also this simple example worked
from multiprocessing import Pool def f(x): return x*x p = Pool(2) print(p.map(f, [1, 2, 3])) I'm not an developer but I want to help running tests. El miércoles, 15 de agosto de 2018, 17:46:39 (UTC+2), Eric Gourgoulhon escribió: > > Hi, > > Various Sage users have reported on that parallelization of tensor field > computations does not work on macOS. The latest report, yesterday on > sagemanifolds.list: > https://sympa.obspm.fr/wws/arc/sagemanifolds.list/2018-08/msg00003.html > says that this example notebook > > http://nbviewer.jupyter.org/github/sagemanifolds/SageManifolds/blob/master/Worksheets/v1.3/SM_Kerr.ipynb > fails with TypeError: Aborted (cf. the attached log), as soon as nproc is > set to something different than 1 in cell no. 4: > > Parallelism().set(nproc=8) > Parallelization of computations on manifolds is implemented via the > multiprocessing module (using the @parallel decorator). > It works well on Linux and provides important speed-up. > On macOS, while it fails in interactive sessions, it seems to work within the > doctest framework (parallelization is doctested > in various files in src/sage/manifolds and src/sage/tensor/modules). > > Apart from the manifold framework, does parallelization via the > multiprocessing module has been already shown to work on macOS? > Any hint on this issue would be appreciated (we don't have any macOS computer > in our group...) > > Eric. > > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.