I met a problem when performing BSE calculation of spin polarized system with yambo 4.1.4. It raises an error at Wave Function Phases step:
Code: Select all
[06.04.02] Wave-Function Phases
===============================
[ERROR] STOP signal received while in :[06.04.02] Wave-Function Phases
[ERROR]EMPTY WF index @ b:1 k:1 spin:2 ID:0
From the source code, in src/parallel/PARALLEL_WF_index.F I found only the first spin is set during initialization:
Code: Select all
do ib=1,NB
b_filling(ib)=0
if (states_to_load(ib,ik,1)) b_filling(ib)=1
enddo
!
call PP_redux_wait(b_filling,COMM=PAR_COM_density%COMM)
!
do ib=1,NB
if (b_filling(ib)==0.and.PAR_COM_density%CPU_id==0) states_to_load(ib,ik,1)=.TRUE.
enddo
I managed to change the line to
Code: Select all
states_to_load(ib,ik,:)=.TRUE.
Is spin 2 skipped here as intended or is it a bug?
Thanks very much!