Segmentation fault in ypp -s w

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

Moderators: Davide Sangalli, andrea marini, Daniele Varsano

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

Segmentation fault in ypp -s w

Post by javad » Thu Jul 16, 2015 11:00 am

Dear yambo developers

I'm trying to plot excitonic wavefunctions, but I get segmentation fault
If I turn on debug flags I get

"....
<---> [WF] Performing Wave-Functions I/O
<---> [FFT-EXCWF] Mesh size: 9 9 25
<---> [06.01] Excitonic Wave Function
<---> [06.01.01] Real-Space grid setup
<---> :: Extended grid : 81 81 25
<---> :: Hole position in the DL cell [cc]:-2.358869 -1.361893 -2.672699
<---> :: position in the FFT grid [cc]:-.6873E-4 -.7369E-4 0.4778E-3
At line 378 of file excitons_driver.f90
Fortran runtime error: Index '-30101' of dimension 2 of array 'r_cell_cc' outside of expected range (1:164025)
...."

my BSE optical spectra is fine, and also the excitonic energies.

I attach my yambo, pwscf and ypp input files and the r_setup and the r_optics_bse_bsk_bss_em1d_ppa reports

javad
You do not have the required permissions to view the files attached to this post.
Javad Exirifard
IPM - Institute for Research in Fundamental Sciences
P. O. Box 19395-5746
Niavaran Square
Tehran, Iran

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

Re: Segmentation fault in ypp -s w

Post by Daniele Varsano » Thu Jul 16, 2015 11:18 am

Dear Javad,

there is a problem on the position of the hole in the FFT grid. No idea what is going wrong there.
We need to reproduce 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/

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

Re: Segmentation fault in ypp -s w

Post by javad » Thu Jul 16, 2015 12:45 pm

Dear Daniele

I solved the problem, ypp does not accept negative positions,
so I put my hole on an atom with positive coordinates and everything works.

I think it should be nice if you can add a small piece of code that translates automatically
the hole position to the positive Brillouin zone

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

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

Re: Segmentation fault in ypp -s w

Post by Daniele Varsano » Thu Jul 16, 2015 1:03 pm

Dear Javad,
thanks for noticing it, I will have a look to it and if it is the case we will fix it allowing negative values in the unit cell (not Briloluin zone).
Thanks again for reporting.
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/

Post Reply