
This directory contains a patch for espresso-5.1 that fixes bugs 
listed below. Assuming BerkeleyGW is installed in $BGWPATH/BerkeleyGW, 
to apply the patch execute the following command 
in the directory containing the espresso-5.1 directory:

% patch -p0 -i $BGWPATH/BerkeleyGW/MeanField/ESPRESSO/version-5.1/espresso-5.1-patch

(1) <<< THIS IS FIXED IN QUANTUM ESPRESSO TRUNK >>>
Incorrect weights of k-points along the lines in Modules/read_cards.f90

(2) <<< THIS IS DISABLED IN QUANTUM ESPRESSO TRUNK >>>
Incorrect off-diagonal matrix elements of Vxc with real wavefunctions in PP/src/pw2bgw.f90

(3) <<< THIS IS FIXED IN QUANTUM ESPRESSO TRUNK >>>
Obsolete preprocessor flags and MPI initialization in PP/src/pw2bgw.f90 and PP/src/bgw2pw.f90

(4) <<< THIS IS FIXED IN QUANTUM ESPRESSO TRUNK >>>
gk_sort vs iunigk bug in PP/src/pw2bgw.f90 and PP/src/bgw2pw.f90

