Commit 7b458424 authored by sponce's avatar sponce

Update EPW to be compatible with the new version of Wannier 2.1.0



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13226 c92efa57-630b-4861-b058-cf58834340f0
parent b6571811
......@@ -9,7 +9,7 @@ include make.libs
IFLAGS = -I../../include
MODFLAGS = -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src \
-I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src/ -I.
-I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src/ -I. -I../../wannier90-2.1.0/src/obj/
#
# The above is in alphabetical order except when order matter during compilation
......@@ -148,7 +148,7 @@ ph :
cd ../../ ; make ph
wannier :
cd ../../ ; make w90
cd ../../ ; make w90 ; cd wannier90-2.1.0/ ; make lib
pp :
cd ../../ ; make pp
......
......@@ -21,7 +21,7 @@
USE io_global, ONLY : stdout, ionode, ionode_id
USE io_files, ONLY : tmp_dir
USE ener, ONLY : Ef
USE klist, ONLY : xk, ltetra, lgauss, degauss, ngauss, nks, nelec, nkstot
USE klist, ONLY : xk, lgauss, degauss, ngauss, nks, nelec, nkstot, ltetra
USE lsda_mod, ONLY : nspin, lsda, starting_magnetization
USE scf, ONLY : v, vrs, vltot, rho, rho_core, kedtau
USE gvect, ONLY : ngm
......
......@@ -146,6 +146,8 @@ SUBROUTINE setup_nnkp ( )
USE constants_epw, ONLY : bohr
! USE w90_parameters, ONLY : postproc_setup
USE mp_global, ONLY : intra_pool_comm, mp_sum
USE w90_parameters, ONLY : postproc_setup
USE w90_io, ONLY : post_proc_flag
!
implicit none
real(DP) :: g_(3), gg_
......@@ -249,7 +251,9 @@ SUBROUTINE setup_nnkp ( )
ENDDO
IF (meta_ionode) THEN
! postproc_setup = .true.
!postproc_setup = .true.
post_proc_flag = .true.
!print*,'postproc_setup ',postproc_setup
CALL wannier_setup(seedname2, mp_grid, iknum, & ! input
rlatt, glatt, kpt_latt, nbnd, & ! input
nat, atsym, atcart, .false., noncolin, & ! input
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment