abinit / abinit_issues

Bug reports and known issues for Abinit
1 stars 1 forks source link

Fermisurface #1

Closed setten closed 7 years ago

setten commented 7 years ago

When reporting bugs/issues, please supply the following information:

System

see below

Summary

abinit leaves at producing the fermisurface file

Error message (if any)

--- !ERROR message: | kpt = 0.00000000E+00 0.00000000E+00 0.00000000E+00 with rank 171 has no symmetric among the k-points used in the GS calculation src_file: printbxsf.F90 src_line: 170 ...

Error message found in `__ABI_MPIABORT__` or in other log files

Steps to reproduce

single run of the input file

Suggested solution (if any)

gmatteo commented 7 years ago

Solved in v8.1.7 See also https://gitlab.abinit.org/gmatteo/abinit/commit/235ca8bcb67d3aef04de667f15270bbaebaeac9c

diff --git a/src/94_scfcv/outscfcv.F90 b/src/94_scfcv/outscfcv.F90
index 6bd1175..8f25b6c 100644
--- a/src/94_scfcv/outscfcv.F90
+++ b/src/94_scfcv/outscfcv.F90
@@ -235,7 +235,7 @@ subroutine outscfcv(atindx1,cg,compch_fft,compch_sph,cprj,dimcprj,dmatpawu,dtfil
 !Local variables-------------------------------
 !scalars
  integer,parameter :: master=0,cplex1=1,fform_den=52,rdwr2=2,rdwrpaw0=0
- integer :: bantot,fform,collect
+ integer :: bantot,fform,collect,timrev
  integer :: accessfil,coordn
  integer :: ii,ierr,ifft,ikpt,ispden,isppol
  integer :: me_fft,n1,n2,n3
@@ -300,8 +300,9 @@ subroutine outscfcv(atindx1,cg,compch_fft,compch_sph,cprj,dimcprj,dmatpawu,dtfil
  remove_inv=.false.
  if(dtset%nspden==4 .and. dtset%usedmft==1) remove_inv=.true. ! MG: why this?

+ timrev = 2; if (any(dtset%kptopt == [3, 4])) timrev= 1
  call crystal_init(dtset%amu_orig(:,1),crystal,dtset%spgroup,natom,dtset%npsp,ntypat, &
-& dtset%nsym,rprimd,dtset%typat,xred,dtset%ziontypat,dtset%znucl,1,&
+& dtset%nsym,rprimd,dtset%typat,xred,dtset%ziontypat,dtset%znucl,timrev,&
 & dtset%nspden==2.and.dtset%nsppol==1,remove_inv,hdr%title,&
 & dtset%symrel,dtset%tnons,dtset%symafm)