[sage-support] Re: Parallelization of contractions

2020-01-30 Thread Eric Gourgoulhon
Hi, Le mercredi 29 janvier 2020 08:47:32 UTC+1, Mattia Villani a écrit : > > 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

[sage-support] Re: Parallelization of contractions

2020-01-28 Thread Mattia Villani
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

[sage-support] Re: Parallelization of contractions

2020-01-22 Thread Eric Gourgoulhon
Le mercredi 22 janvier 2020 07:43:52 UTC+1, Mattia Villani a écrit : > > 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? > It suf