BSE-Error

Deals with issues related to computation of optical spectra, solving the Bethe-Salpeter equation.

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

Sam-2025
Posts: 17
Joined: Mon Jan 06, 2025 1:23 pm

Re: BSE-Error

Post by Sam-2025 » Wed Apr 23, 2025 11:09 pm

Thank you so much Professor for your guidance.

I am working with the version that included in the tutorial but it is giving me the following error in the BSE section after running this command( yambo_ph -X s -o b -y d -V qp -k sex) :

[ERROR] STOP signal received while in[07.01.05.03] Main kernel loop

[ERROR] Writing File ./SAVE//ndb.BS_Q1_CPU_0; Variable L_kind; NetCDF: Attempt to convert between text & numbers


Could you please look at them and see if you have some idea why this is happening?
Also , professor, I calculated the first section( for electron phonon coupling) and then started from directory : QPT12/dvscf/bn.save for the BSE calculation, and run the command ( yambo_ph -X s -o b -y d -V qp -k sex) which contain 3 step in BSE calculation and got above errors. Do you think I understood the tutorial correctly? Or for BSE section, I should create a new directory and get the SAVE file(contains wave functions) and run the command : yambo_ph -X s -o b -y d -V qp -k sex?

The reason that I started from folder: QPT12/dvscf/bn.save was that I thought so in this folder I have the wavefunctions already. Your guidance would be very helpful. Thank you so much in advance.
Samira Ghanbarzadeh (she/her)
PhD Student
Mechanical Engineering Department / UVM

nilesh12
Posts: 9
Joined: Sun Feb 18, 2024 4:31 pm

Re: BSE-Error

Post by nilesh12 » Fri Apr 25, 2025 10:36 am

Dear all,
I am running a BSE calculation for a 2D monolayer system.I am using a dense k-mesh grid, and my calculation could not finish because of wall time was not enough. Does it possible to rerun this calculation again from where it stopped earlier? in the output directory, I have these two files ndb.BS_PAR_Q1 and ndb.BS_PAR_Q1-3357605889-3543589.loc.
I would be happy to get a helpful answer from developers and other members.
Thank you
Nilesh Kumar
Department of Physical & Organic Chemistry
Jožef Stefan Institute
Ljubljana, Slovenia

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

Re: BSE-Error

Post by Daniele Varsano » Mon Apr 28, 2025 10:45 am

Dear Nilesh,

yes, if you are using parallel I/= as it seems, you can restart the BSE calculation by just rerunning it.

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/

nilesh12
Posts: 9
Joined: Sun Feb 18, 2024 4:31 pm

Re: BSE-Error

Post by nilesh12 » Mon Apr 28, 2025 1:44 pm

Dear Daniele
Thank you for your helpful reply! I will proceed with rerunning the BSE calculation from the same output directory, as you suggested.
Nilesh Kumar
Department of Physical & Organic Chemistry
Jožef Stefan Institute
Ljubljana, Slovenia

User avatar
claudio
Posts: 528
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: BSE-Error

Post by claudio » Fri May 02, 2025 3:34 pm

Dear Nilesh,

I will check the tutorial next week and make you know

best
Claudio
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com

Sam-2025
Posts: 17
Joined: Mon Jan 06, 2025 1:23 pm

Re: BSE-Error

Post by Sam-2025 » Fri May 02, 2025 4:12 pm

Dear Professor Claudio Attaccalite

I apologize for revisiting this issue, but we continue to encounter the following error despite carefully following the exciton-phonon coupling tutorial in Yambo v5.2:
[[ERROR] STOP signal received while in[07.01.05.03] Main kernel loop

[ERROR] Writing File ./SAVE//ndb.BS_Q1_CPU_0; Variable L_kind; NetCDF: Attempt to convert between text & numbers]

Given the nature of the errors, we suspect a possible netCDF compatibility issue. Our HPC support team has tested two installations:
One using the internal netCDF library (v4.9.0)
Another with an external netCDF (v4.9.2)
However, the error persists in both cases. Notably, the issue does not occur in Yambo v5.3, though unfortunately, this version lacks exciton-phonon coupling functionality.
Could you kindly advise whether netCDF might indeed be the root cause, or if there are alternative solutions we might explore? Any guidance on resolving this would be greatly appreciated.
Thank you for your time and support.
Samira Ghanbarzadeh (she/her)
PhD Student
Mechanical Engineering Department / UVM

Post Reply