Problem with BSE diagonalization and restart

You can find here problems arising when using old releases of Yambo (< 5.0). Issues as parallelization strategy, performance issues and other technical aspects.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan

Locked
javad
Posts: 44
Joined: Fri Feb 28, 2014 10:23 pm

Problem with BSE diagonalization and restart

Post by javad » Tue Feb 16, 2016 10:27 am

Dear Yambo developers

I tested the BSE yambo-4.0.2 and I have a problem with diagonalisation and plotting.

In yambo-3.4.1 I was habit to calculate the BSE, and then plot the results in different
directions or changing the number of points in the final plot without running again the calculations
but just reading the diagonalized matrix.

I notice that this is not possible any-more in yambo-4.0.2, the code always recalculates all the BSE matrix.

Why? Is this a bug? or there is a particular reason to do so?

regards
Javad
Javad Exirifard
IPM - Institute for Research in Fundamental Sciences
P. O. Box 19395-5746
Niavaran Square
Tehran, Iran

User avatar
Davide Sangalli
Posts: 641
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Problem with BSE diagonalization and restart

Post by Davide Sangalli » Tue Feb 16, 2016 11:09 am

Dear Javad,
I've just tried and yambo-4.0.2 correctly computes the the kernel only the first time.

If you change the number of points on the frequency axis only epsilon is recomputed
If you also change the field direction then the BSE matrix is also diagonalized again, as it should be.

In neither case it recomputes the BSE matrix, which is indeed stored on disk.

Can you post an example of the different behaviour you found out between 4.0.2 and any older version
and / or the report file of your run.

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

javad
Posts: 44
Joined: Fri Feb 28, 2014 10:23 pm

Re: Problem with BSE diagonalization and restart

Post by javad » Tue Feb 16, 2016 12:49 pm

Dear Davide

you are right, I notice that this happens only when I change the number of processors.

Usually I run the BSE in parallel and then I plot the different spectra with small serial runs, and this was the problem

Javad
Javad Exirifard
IPM - Institute for Research in Fundamental Sciences
P. O. Box 19395-5746
Niavaran Square
Tehran, Iran

User avatar
Davide Sangalli
Posts: 641
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Problem with BSE diagonalization and restart

Post by Davide Sangalli » Tue Feb 16, 2016 1:04 pm

You are right, in case the number of processor is different then the ndb with the BSE matrix is not recognised.
We are still working on the I/O of the BSE matrix.
Maybe in the future we will release the constrain of keeping the same number of CPUs.

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

Locked