If I compute the Bach Tensor using the definition via the cotton tensor I
get a different result to that using an alternative definition.
M = Manifold(4, 'M')
MChart = M.open_subset('MChart')
Chart. = MChart.chart(r'u:(-oo,+oo) v:(-oo,+oo) x:(-oo,+oo)
y:(-oo,+oo)')
gT= MChart.riemannian_metr
Multiprocessing of Tensors is not working for Macintosh.
show(version())
#MacBook Pro dual core i5, hyper-threaded. Should support 4 ply
multiprocessing.
%display latex # LaTeX rendering turned on
Parallelism().set('tensor',4) #Only works if set to one.
Parallelism().set('linbox',4)
Parallel
I have an inkling that it is the code to probe the number of processors
present that is at fault. It uses the right command but doesn't use the
result and always returns one. This causes problems with the interface to
maxima if one has set the number of cores for tensor computations to other
th
>
> It is the Schouten Tensor that has a dimension dependent definition not
> the Cotton Tensor.
>
The logical conventions are defined by Rij = Rkikj and the condition that
the Euclidean n-sphere has R > 0.
--
You received this message because you are subscribed to the Google Groups
"sage-s
How do I make sure the changes I have made to the code are present.
Do I need to restart sage or even recompile it? Or just restart the Kernel?
The change I have made is to ncpus.py .
Indeed Mac OS has no hasattr(os, "sysconf"): .
It should execute "sysctl -n hw.ncpu" which on my machine returns
I have just updated to SageMath 9.1 and updated my OS. I see that ncpus.py
has been changed.
I have tested the multiprocessing with the file enclosed above and others
and it is working. Thank you all for fixing this.
--
You received this message because you are subscribed to the Google Groups
I was able to run this but I have hacked ncpus.py to give the correct
result 4 for my laptop (2 core hyper-threaded). I think it causes problems
with the multiprocessing interface even though one doesn't explicitly call
it.
sage src ncpus.py .
*def* ncpus():
"""
Detects the number o
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
lelism())
> sage.parallel.ncpus.ncpus()
>
> On Tue, Jan 25, 2022 at 11:55 AM 'Alan Stafford' via sage-support
> wrote:
> >
> > I get errors in this notebook if I set the variable tpar to any value
> greater than one. (Number of Tensor processing cores.)
> &
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
I am using Mac OS 12.1 Monterey. The notebook works on Sagemath 9.1 if I
hack ncpus.py to return 4.
On Tuesday, January 25, 2022 at 10:59:20 PM UTC John H Palmieri wrote:
> Are you using OS X? Could this possibly be due to how Python handles
> multiprocessing on OS X vs. other platforms? (See
SageMath 9.1 works with the 9.5 version of ncpus.py so one can disregard my
tinkering with it.
On Wednesday, January 26, 2022 at 10:12:33 AM UTC Alan Stafford wrote:
> I am using Mac OS 12.1 Monterey. The notebook works on Sagemath 9.1 if I
> hack ncpus.py to return 4.
>
> On Tuesday, Januar
ImportError: cannot import name 'NumberField' from partially initialized
module 'sage.rings.number_field.number_field' (most likely due to a
circular import)
(/private/var/tmp/sage-9.5-current/local/var/lib/sage/venv-python3.9.9/lib/python3.9/site-packages/sage/rings/number_field/number_field.py
That works. I get all cores used.
On Thursday, January 27, 2022 at 1:20:26 PM UTC egourg...@gmail.com wrote:
> Le mardi 25 janvier 2022 à 23:59:20 UTC+1, John H Palmieri a écrit :
>
>> Are you using OS X? Could this possibly be due to how Python handles
>> multiprocessing on OS X vs. other platfo
Adding :
import multiprocessing as mp
if mp.get_start_method != 'fork' : mp.set_start_method('fork')
Lets one rerun the notebook without restarting the kernel.
One can delete the line:
os.environ['SAGE_NUM_THREADS'] = '4'
On Thursday, January 27, 2022 at 5:59:36 PM UTC Alan Stafford wrote:
>
if mp.get_start_method() != 'fork' : mp.set_start_method('fork')
Lets one rerun the notebook without restarting the kernel.
On Thursday, January 27, 2022 at 5:59:36 PM UTC Alan Stafford wrote:
> That works. I get all cores used.
> On Thursday, January 27, 2022 at 1:20:26 PM UTC egourg...@gmail.c
mp.set_start_method('fork',force=True)
lets one rerun the notebook without restarting.
On Thursday, January 27, 2022 at 5:59:36 PM UTC Alan Stafford wrote:
> That works. I get all cores used.
> On Thursday, January 27, 2022 at 1:20:26 PM UTC egourg...@gmail.com wrote:
>
>> Le mardi 25 janvier 202
Interact just calls the function but no Interact widgets appear.
Example attached. It works at Cocalc.
--
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-supp
Exactly the same using Google Chrome.
On Saturday, January 29, 2022 at 8:09:36 PM UTC dim...@gmail.com wrote:
> On Sat, Jan 29, 2022 at 8:05 PM 'Alan Stafford' via sage-support
> wrote:
> >
> > I only used Safari. Safari supports widgets at Cocalc so I can't th
I have found that it doesn't work if I launch from the SageMath 9.5 icon
for any kernel 9.4 or 9.5. If I launch from the SageMath 9.4 interface it
works for either kernel.
>>
>>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe
31, 2022 at 3:59 AM 'Alan Stafford' via sage-support
> wrote:
> >
> > I have found that it doesn't work if I launch from the SageMath 9.5 icon
> for any kernel 9.4 or 9.5. If I launch from the SageMath 9.4 interface it
> works for either kernel.
>
> I am no
geMath releases
>> from git. I do not get widgets should I start the 9.4 or 9.5 kernel using
>> the 9.5 interface, but I do when I use the 9.4 interface.
>> On Monday, January 31, 2022 at 12:45:31 PM UTC dim...@gmail.com wrote:
>>
>>> On Mon, Jan 31, 2022 at 3:59
If I restart the kernel multiprocessing gets reset back to spawn. Rather
than have to set it back to fork in every cell it should be set to fork by
the kernel restart code.
On Friday, January 28, 2022 at 2:04:43 PM UTC egourg...@gmail.com wrote:
> Le jeudi 27 janvier 2022 à 18:59:36 UTC+1, alan
What is v0? When I run the above it isn't defined.
On Monday, January 31, 2022 at 11:19:49 PM UTC Emmanuel Charpentier wrote:
> As advertised, an atempt at a minimal (non-)working example :
>
> # Reproducible minimal example
> with seed(0): M = matrix(AA, 3, 3, lambda u,v: AA.random_element())
>
Do you mean, V =vector(list(var("v0", n=2))+[SR(1)])
Also, what is E0?
On Wednesday, February 2, 2022 at 6:08:20 PM UTC Emmanuel Charpentier wrote:
> See lines #7-8 of the "Minimal example" :
>
> Le mercredi 2 février 2022 à 11:57:41 UTC+1, alan_thoma...@yahoo.co.uk a
> écrit :
>
>>
>> What is v0
On Apple Mac the example above runs on the 9.4 kernel using either the 9.4
or 9.5 interface but not on the 9.5 kernel from either Interface.
On Thursday, February 3, 2022 at 6:44:47 AM UTC Emmanuel Charpentier wrote:
> Le mercredi 2 février 2022 à 22:15:00 UTC+1, Nils Bruin a écrit :
>
> On Mon
M.eigenvalues() never returns.
On Saturday, February 5, 2022 at 11:48:47 AM UTC Emmanuel Charpentier wrote:
> What exactly fails in the example ?
>
> Le vendredi 4 février 2022 à 13:20:26 UTC+1, alan_thoma...@yahoo.co.uk a
> écrit :
>
>>
>> On Apple Mac the example above runs on the 9.4 kernel us
My point is that it is the same on Apple Mac, that it isn't related to the
recent interface and multiprocessing problems but has just appeared with
the 9.5 kernel beta release as it works with the 9.4 kernel.
On Sunday, February 6, 2022 at 8:53:51 AM UTC Emmanuel Charpentier wrote:
> That was m
No, it works with the 9.4 kernel but not with the 9.5 beta.
--
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 th
Interact is broken for SageMath 9.5, it works in 9.4 so I don't understand
the pull request.
On Wednesday, February 9, 2022 at 10:01:01 AM UTC slelievre wrote:
> Pull request to fix Sage interacts on the CoCalc side:
>
> - https://github.com/sagemathinc/cocalc/pull/5721
>
--
You received this
I was trying to look at the link between quaternions and twistor space. I
did a little notebook. Not exactly what you are looking at but it might
help.
On Saturday, April 16, 2022 at 10:55:31 AM UTC+1 ny22...@gmail.com wrote:
> I am trying to understand how to use Quaternions within sagemath to
You need to do a save link as on [ipnyb] not just click on it.
Regards
Alan
On Friday, May 20, 2022 at 6:29:39 PM UTC+1 raymond@gmail.com wrote:
> Hi, I downloaded Kerr_Schild.ipynb at
> https://luth.obspm.fr/~luthier/gourgoulhon/bh16/sage.html
> It complains about JSON formatting.
>
> A p
; Ray
> On 5/20/22 16:05, 'Alan Stafford' via sage-support wrote:
>
> You need to do a save link as on [ipnyb] not just click on it.
> Regards
> Alan
>
> On Friday, May 20, 2022 at 6:29:39 PM UTC+1 raymond@gmail.com wrote:
>
>> Hi, I downloaded Kerr_Schi
Burgers vector - Wikipedia
|
|
|
| | |
|
|
|
| |
Burgers vector - Wikipedia
The vector's magnitude and direction is best understood when the
dislocation-bearing crystal structure is first ...
|
|
|
On Friday, 10 June 2022, 11:10:36 BST, Hongyi Zhao
wrote:
For cry
sudo cd / sudo rm -r *.*
On Friday, 10 June 2022, 10:41:59 BST, Vegard Lima
wrote:
Hi,
there should be a fix for this in updates-testing for Fedora 36:
$ sudo dnf update sagemath --enablerepo=updates-testing
You might have to do this first:
$ sudo dnf erase sagemath-doc-en
Cheers,
How does this look? http::///alan.atstafford.co.uk/Penrose/graphic.html
On Wednesday, July 13, 2022 at 6:35:48 PM UTC+1 dim...@gmail.com wrote:
>
>
> On Wed, 13 Jul 2022, 16:02 harald@gmail.com,
> wrote:
>
>> Hi,
>>
>> I am running Sagemath on a Mac Mini (2018; Intel).
>>
>> I used to have
I am using Safari on MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports).
On Wednesday, July 13, 2022 at 7:32:41 PM UTC+1 Alan Stafford wrote:
> How does this look? http::///alan.atstafford.co.uk/Penrose/graphic.html
>
> On Wednesday, July 13, 2022 at 6:35:48 PM UTC+1 dim...@gmail.com wrote:
>
>
Bernards Paradox. Anything is a set even the empty set. And the empty set
contains itself. Axiom 11 is the source of the paradox.
Regards
Alan
On Thursday, 23 February 2023 at 13:13:33 GMT, Dima Pasechnik
wrote:
I opened
https://github.com/sagemath/sage/issues/35178
on this
On Thu, Fe
38 matches
Mail list logo