Are you using OS X? Could this possibly be due to how Python handles 
multiprocessing on OS X vs. other platforms? (See 
https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods,
 
in particular the comment "On macOS, the *spawn* start method is now the 
default" and https://bugs.python.org/issue33725.)



On Tuesday, January 25, 2022 at 12:34:07 PM UTC-8 alan_thoma...@yahoo.co.uk 
wrote:

> Process SpawnPoolWorker-1: Traceback (most recent call last): File 
> "/private/var/tmp/sage-9.5-current/local/var/lib/sage/venv-python3.9.9/lib/python3.9/multiprocessing/process.py",
>  
> line 315, in _bootstrap self.run() File 
> "/private/var/tmp/sage-9.5-current/local/var/lib/sage/venv-python3.9.9/lib/python3.9/multiprocessing/process.py",
>  
> line 108, in run self._target(*self._args, **self._kwargs) File 
> "/private/var/tmp/sage-9.5-current/local/var/lib/sage/venv-python3.9.9/lib/python3.9/multiprocessing/pool.py",
>  
> line 114, in worker task = get() File 
> "/private/var/tmp/sage-9.5-current/local/var/lib/sage/venv-python3.9.9/lib/python3.9/multiprocessing/queues.py",
>  
> line 368, in get return _ForkingPickler.loads(res) File 
> "/private/var/tmp/sage-9.5-current/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/manifolds/differentiable/chart.py",
>  
> line 36, in <module>
> On Tuesday, January 25, 2022 at 8:13:20 PM UTC egourg...@gmail.com wrote:
>
>> Hi,
>>
>> Le mardi 25 janvier 2022 à 12:54:57 UTC+1, alan_thoma...@yahoo.co.uk a 
>> écrit :
>>
>>> 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 
>>> <http://alan.atstafford.co.uk/Sage9.5Problem.ipynb>*
>>>
>>
>> Your notebook works well with tpar=4 on my Ubuntu computer running Sage 
>> 9.5.rc4.
>> What kind of error do you get?
>>
>> Eric.
>>
>

-- 
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/4e5362fc-05b2-48ac-9783-66e6e70d6f21n%40googlegroups.com.

Reply via email to