ndb.BS_diago cannot be found by ypp

Anything regarding the post-processing utility (e.g. excitonic wavefunction analysis) is dealt with in this forum.

Moderators: Davide Sangalli, andrea marini, Daniele Varsano

yhypku
Posts: 20
Joined: Wed Sep 02, 2020 11:10 am

ndb.BS_diago cannot be found by ypp

Post by yhypku » Fri Nov 19, 2021 1:21 pm

Dear developers,
I used -y d to solve the BSE, and the eps, eels, jdos and report were all good. I also found nbd.BS_diago_Q* files in the SAVE folder. However, when I used "ypp -e s -b 1 -J SAVE", I received the following error:

Code: Select all

[ERROR] STOP signal received while in[06] Excitonic Properties @ Q-index #1
[ERROR] ndb.BS_diago not found.
What's going on? I also attach the report file of BSE solver.
r-bse_optics_dipoles_bss_bse.txt
You do not have the required permissions to view the files attached to this post.
Huaiyuan Yang
Peking University
Beijing, China

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: ndb.BS_diago cannot be found by ypp

Post by Daniele Varsano » Fri Nov 19, 2021 1:33 pm

Dear Huaiyuan Yang,

from the report you poster it seems that the ndb.BS_diago_Q* are stored in a directory named "bse".
Have you tried to run

ypp -e s -b 1 -J bse

Best,

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

yhypku
Posts: 20
Joined: Wed Sep 02, 2020 11:10 am

Re: ndb.BS_diago cannot be found by ypp

Post by yhypku » Fri Nov 19, 2021 2:16 pm

Dear Daniele,
Thanks for your reply. Actually, what I have run was "ypp -e s -b 1 -J bse". The ndb.BS_diago_Q* files are all in bse folder. There must be some other reasons.
Best,
Huaiyuan
Huaiyuan Yang
Peking University
Beijing, China

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: ndb.BS_diago cannot be found by ypp

Post by Daniele Varsano » Fri Nov 19, 2021 2:31 pm

Dear Huaiyuan,

the syntax you are using seems to be correct, please be sure you have the file ndb.BS_diago_Q1 in your bse folder and you are using the ypp from the release of yambo you calculated the database.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

yhypku
Posts: 20
Joined: Wed Sep 02, 2020 11:10 am

Re: ndb.BS_diago cannot be found by ypp

Post by yhypku » Fri Nov 19, 2021 2:46 pm

Dear Daniele,
Thanks for your reply. The ndb.BS_diago_Q* files are actually in the bse folder and the ypp is installed together with Yambo 5.0.4.
This error is very confusing. I'll calculate the BSE again to see what will happen.
Best,
Huaiyuan
Huaiyuan Yang
Peking University
Beijing, China

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: ndb.BS_diago cannot be found by ypp

Post by Daniele Varsano » Fri Nov 19, 2021 3:00 pm

Dear Huaiyuan,
the problem you are facing is rather strange, and I have no idea to what it can be related, does it happen for all the Q you calculated (e.g. -b 18)?
If it is just a matter to look at the eigenvalues, this can be overcome by looking directly to the ndb.BS_diago_Q* file: these are written in netcdf format you can make them readable
by using the ncdump command. You can find in your machine if you have netcdf already compiled there, or in the lib directory of yambo (type find . -name ncdump inside yambo/lib if they have been compiled during the yambo installation). Just note that energies in the database are in Hartree and not in eV.

Anyway this does not solve the problem if you need to calculate other quantities extracted from the ndb.BS_diago_Q* databases e.g. excitonic wavefunction.

Best,

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

yhypku
Posts: 20
Joined: Wed Sep 02, 2020 11:10 am

Re: ndb.BS_diago cannot be found by ypp

Post by yhypku » Sat Nov 20, 2021 2:23 am

Dear Daniele,
The error happens to all Q points. Luckily, what I cares most is the exciton energies, so I can use ncdump command to get the BS_Energies. Thanks for your valuable advice.
Best,
Huaiyuan
Huaiyuan Yang
Peking University
Beijing, China

8813204602
Posts: 58
Joined: Tue Jun 15, 2021 5:53 pm

Re: ndb.BS_diago cannot be found by ypp

Post by 8813204602 » Sun Aug 21, 2022 3:53 pm

Dear developer,

I faced exactly the problem mentioned above for slepc solver. When I used "ypp -e s 1 -J ...." for bulk hBN,exciton energies were extracted correctly. But when I used ypp for my material, I received following error:

Code: Select all

[ERROR] STOP signal received while in[06] Excitonic Properties @ Q-index #1
[ERROR] ndb.BS_diago not found
Is there a way to solve this problem and extract the excitonic wavefunvtions from the ndb.BS-diago-Q database?
Given that this problem may be solvable using Yambo-4.5, is there a way to convert the ndb.BS-diago-Q database obtained from Yambo-5.0 to Yambo-4.5 without recalculation?
The report files for bulk hBN and my material are attached.

Thanks and Regards,
Mitra Helmi
You do not have the required permissions to view the files attached to this post.
Mitra Helmi,Ph.D student
Ferdowsi university of Mashhad
Mashhad,Iran

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: ndb.BS_diago cannot be found by ypp

Post by Daniele Varsano » Tue Aug 30, 2022 8:11 am

Dear Mitra,

I assume that you are using the ypp and yambo coming from the same release (please check it!)
is there a way to convert the ndb.BS-diago-Q database obtained from Yambo-5.0 to Yambo-4.5 without recalculation?
Probably yes, but it could be not easy and the database have to be manipulated.
In the meanwhile, we try to spot what's the source of the error.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

8813204602
Posts: 58
Joined: Tue Jun 15, 2021 5:53 pm

Re: ndb.BS_diago cannot be found by ypp

Post by 8813204602 » Mon Sep 12, 2022 8:11 am

Dear Daniele,
I assume that you are using the ypp and yambo coming from the same release (please check it!)
I did both the yambo and ypp calculations with Yambo-5.0.3 for both bulk hBN and my material.
I would be very grateful if you could help me to solve this problem.

Best,
Mitra
Mitra Helmi,Ph.D student
Ferdowsi university of Mashhad
Mashhad,Iran

Post Reply