Skip to content

Commit

Permalink
Committing fix for #130 (thanks to J. Yates)
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannipizzi committed Apr 3, 2017
1 parent b8082ae commit 6dbd86b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ make.inc
w90chk2chk.x
libwannier.a
*~
*.x.dSYM
4 changes: 4 additions & 0 deletions src/wannierise.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2515,6 +2515,10 @@ subroutine wann_main_gamma

cz=cmplx_0

! Set up the MPI arrays for a serial run.
allocate( counts(0:0), displs(0:0), stat=ierr )
if (ierr/=0) call io_error('Error in allocating counts and displs in wann_main_gamma')
counts(0)=0; displs(0)=0
! store original U before rotating
!~ ! phase factor ph_g is applied to u_matrix
!~ ! NB: ph_g is applied to u_matrix_opt if (have_disentangled)
Expand Down
4 changes: 2 additions & 2 deletions test-suite/tests/testw90_benzene_gamma_val/benzene.win
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ num_iter = 100
conv_tol = 1e-10
conv_window = 5

translate_home_cell=true
#translate_home_cell=true

guiding_centres = true

iprint = 2
#iprint = 4

## Plotting #################
#restart = plot
Expand Down

0 comments on commit 6dbd86b

Please sign in to comment.