On Tue, Jan 25, 2022 at 7:34 PM 'Alan Stafford' via sage-support
<[email protected]> wrote:
>
>
> Are you saying I should remove the lines above and just use the 
> SAGE_NUM_THREADS environment variable?

no, not at all, I was just extracting these from your notebook, so
that a casual reader can see what your have a problem with.

>
> Alan
> On Tuesday, January 25, 2022 at 1:06:42 PM UTC [email protected] 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
>> <[email protected]> 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 [email protected].
>> > 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/694d5ba3-57ad-4fab-9d1c-59e5345a21a8n%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq2cMv16CT5nekPFtnvbXCezb2uTp1bQwo-ZKnGDBuOQmA%40mail.gmail.com.

Reply via email to