Posdoppler variable missing

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
Error123
Posts: 2
Joined: Thu Dec 03, 2020 9:50 pm

Posdoppler variable missing

Post by Error123 » Thu Dec 03, 2020 10:08 pm

Dear all,

im new here and i jsut finished base tutorials. Now Im trying to finish pozitron tutorial. I managed to finish all parts of the tutorial but computing the electron-positron momentum distribution (Doppler spectrum) of a Si lattice, since it wont start the calculation. It has a problem with posdoppler input variable.

chkvars.F90:334:ERROR
Found the token POSDOPPLER in the input file.
This name is not one of the registered input variable names (see the Web list of input variables).
Action : check your input file. You likely mistyped the input variable.

This is what i get after running the program. Since i work on windows 10 im using abinit v 7.4.3. I checked the input variables which this version contains and posdoppler variable is missing. That is probably why it shows the error.

If i get a new version i dont think it will work on windows. Maybe updating the variables would solve this problem but i dont know how to do that.

Here is the whole code im using:

#################################################################
# Input file for the positron tutorial #
# Doppler spectrum calculation within PAW #
# #
# Si, 2 atoms in the box #
#################################################################

positron -10 ! Electron/positron GS calculation
! Automatic electron-positron loop has to be switched on in Doppler calculations
! to have both electron and positron wavefunctions in memory

posnstep 2 ! We simulate a delocalized positron, so we only perform two steps of electon-positron calculations.
! It means that the electronic wavefunction is not affected by the positron.
posdoppler 1 ! Activation of Doppler broadening calculation

ixcpositron 1 ! We are using the Boronski and Nieminen parametrization

# Common input parameters
! Unit cell
acell 3*5.43 angstrom
rprim 0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0

natom 2
ntypat 1
typat 2*1
znucl 14
xred 0.0 0.0 0.0
0.25 0.25 0.25

! K-points and occupations
! In Doppler calculation we need to have a uniform
! grid in the momentum space. Symmetries are not used,
! so the full grid needs to be specified.

kptopt 0
istwfk *1
nkpt 8 ! This corresponds to a 2x2x2 grid, denser grids may be needed to get converged spectra
kpt
0 0 0
0 0 0.5
0 0.5 0
0.5 0 0
0 0.5 0.5
0.5 0 0.5
0.5 0.5 0
0.5 0.5 0.5

occopt 1
nband 6

posocc 1.0 ! Occupation number for the positron (should be set <1 for bulk calculation with a small cell).
! Here the zero positron density limit is used, so results do not depend on posocc.

! Convergence parameters
ecut 8. pawecutdg 15.
iscf 17
nstep 50 tolvrs 1.d-8

! Miscelaneous
prtwf 0 prteig 0 ! To save disk space
optforces 0 optstress 0 ! Not relevant here



#%%<BEGIN TEST_INFO>
#%% [setup]
#%% executable = abinit
#%% [files]
#%% files_to_test =
#%% tpositron_5.out, tolnlines= 5, tolabs= 2.6e-2, tolrel= 3.8e-2, fld_options= -easy
#%% [paral_info]
#%% max_nprocs = 10
#%% [extra_info]
#%% authors = J. Wiktor
#%% keywords = POSITRON,PAW
#%% description = Fifth step of the tutorial on electron-positron annihilation
#%%<END TEST_INFO>

Sorry for my english and thanks for any advice.

ebousquet
Posts: 469
Joined: Tue Apr 19, 2011 11:13 am
Location: University of Liege, Belgium

Re: Posdoppler variable missing

Post by ebousquet » Sun Dec 06, 2020 5:44 pm

Dear Error123,
The tutorial input file works fine on my side. Which version of Abinit are you using? If it is the latest, could you check that there is no hidden typo in the flag name?
Best wishes,
Eric

Error123
Posts: 2
Joined: Thu Dec 03, 2020 9:50 pm

Re: Posdoppler variable missing

Post by Error123 » Sun Dec 13, 2020 11:35 am

ebousquet wrote:
Sun Dec 06, 2020 5:44 pm
Dear Error123,
The tutorial input file works fine on my side. Which version of Abinit are you using? If it is the latest, could you check that there is no hidden typo in the flag name?
Best wishes,
Eric
Thank you for the answer.

Im using verison 7.4.3 as i mentioned before, i also checked for the typo and there was not any.

User avatar
gmatteo
Posts: 291
Joined: Sun Aug 16, 2009 5:40 pm

Re: Posdoppler variable missing

Post by gmatteo » Tue Dec 22, 2020 12:54 am

Im using verison 7.4.3 as i mentioned before, i also checked for the typo and there was not any.
I don't think the posdoppler input variable is available in v 7.4.3.
I would suggest to use a more recent Abinit version.

Locked