Are you saying I should remove the lines above and just use the 
SAGE_NUM_THREADS environment variable?

Alan
On Tuesday, January 25, 2022 at 1:06:42 PM UTC dim...@gmail.com wrote:

> Attached is converted to .rst notebook, just in case. And the
> problematic part is here:
>
> var('tpar','lpar')
>
> tpar=1 #I want to set to greater than 1 but it will not work for
> Sage 9.5. Works with Sage 9.1 if I hack ncpus to return 4.
> lpar=4
>
> Parallelism().set('tensor',tpar)
> Parallelism().set('linbox',lpar)
> show(Parallelism())
> sage.parallel.ncpus.ncpus()
>
> On Tue, Jan 25, 2022 at 11:55 AM 'Alan Stafford' via sage-support
> <sage-s...@googlegroups.com> wrote:
> >
> > I get errors in this notebook if I set the variable tpar to any value 
> greater than one. (Number of Tensor processing cores.)
> >
> > http://alan.atstafford.co.uk/Sage9.5Problem.ipynb
> >
> > Regards
> >
> > Alan
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-support...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/d4e24e6b-0421-4f46-8535-9a493a8fa8d4n%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/694d5ba3-57ad-4fab-9d1c-59e5345a21a8n%40googlegroups.com.

Reply via email to