On Mon, Mar 10, 2025 at 4:28 AM enriqu...@gmail.com
<enriquear...@gmail.com> wrote:
>
> If I set the variable SAGE_NUM_THREADS to a number of cores before opening a 
> sage session (command line or jupyterlab) there is a different behaviour in 
> 10.5 and in 10.6beta;
> parallel computation can be done in 10.5, there is no effect in the beta 
> version (I do not know when it started to fail). In the beta version parallel 
> computation is possible declaring the number of cores using the following 
> hack (suggested to me at some point by Miguel Marco)
> def miscpus():
>     return "put here the number of cores"
> sage.parallel.ncpus.ncpus=miscpus
> Is it possible to know when SAGE_NUM_THREADS lost its effects?

what is the output of sage.parallel.ncpus.ncpus() in 10.5 and in
10.6.beta* for you?
(without using the hack above). Are they using the same Python version?

The code for sage.parallel.ncpus.ncpus didn't change for a year, since 10.3.

Dima




> Thanks, Enrique.
>
> --
> 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 view this discussion visit 
> https://groups.google.com/d/msgid/sage-devel/fe02ae5f-64ab-4fb5-a826-d97f3d418dccn%40googlegroups.com.

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2sPxDPApZz1LES9aN3eWbnbVr2-wKBpb%3DCAPjUUN2o%2BA%40mail.gmail.com.

Reply via email to