crash on the last scf check of vc_relax when the calculation is restarted.

when a vc relax calculation terminates before convergence and it is restarted, the structural relaxation terminates regularly but the final scf check with regenerated G vectors fails.

There is a warning message from the routine read_rhog "some G vectors are missing" And splitwf called inside read_wfc calls errore with "wrong size for pwt" message

problem reported by hailong.yang@etu.univ-amu.fr on pw_forum

attached input files and pseudo to reproduce the issue vc-relax_start.in vc-relax-restart.inAs.pz-bhs.UPF

Edited by Pietro Delugas