I did as suggested adding the line

Parallelism().set(nproc=4)

before the contraction, but it behaves strangely: it works for a short while 
with 4 processors, then with 3, then with 2 and finally it works for hours with 
a single processor. 
It seems that no new packages are distributed between the processors. 


Il giorno mercoledì 22 gennaio 2020 07:43:52 UTC+1, Mattia Villani ha 
scritto:
>
> How to use parallelization on contraction of tensor? Consider the case I 
> have two successive contraction like this:
>
> Tud=etuu['^{ab}']*eamup['^c_b']
> Tp=Tud['^{ab}']*eamup['^c_a']
>
> How con I parallelize it?
>

-- 
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/f329b919-d452-4b3d-9fe2-183f017877fa%40googlegroups.com.

Reply via email to