I am currently working on a parallelised implementation of Pollard-Rho.
For the parallelization of the program I want to use @parallel. But how can I allow Sage to use all the CPUs I have? When I put what they propose in ''doc.sagemath.org/html/en/reference/parallel/sage/parallel/parallelism.html'' :
Using all the cores available on the computer to parallelize tensor computations:
sage: Parallelism().set('tensor')
sage: Parallelism() # random (depends on the computer)
I get back:
Number of processes for parallelization:
- tensor computations: 1
But my computer has more. (Windows tells me: Processor: Intel(R) Core(TM)i5CPU M560 @2.67GHz 2.67 GHz). How do I activate these?