I got the following error
--- !ERROR
message: |
BIG PROBLEM WITH THE SPIN ORBIT IN PSP5NL
src_file: psp5in.F90
src_line: 430
...
when I tried to compute the SCF ground state of GaAs using [Spin-Orbit] pseudo potentials obtained with the J.L.Martins code (atom.exe) followed by the martins2abinit.f90 code. This error seems to be trigger *only* by the Arsenic pseudo potential,
apparently right after reading it and during 'pspatm: epsatm' and the splines computation.
I would appreciate any comments on this, details are found below.
Thanks,
Temok
Details:
I downloaded the Martins2abinit tool
http://www.abinit.org/downloads/psp-links/psp-links/MARTINS2ABINIT.tgz
and followed the instructions by M. Torrent therein.
I successfully reproduced the test
MARTINS2ABINIT/_atom-5.695/atom.dat
and it matched the expected result
MARTINS2ABINIT/_atom-5.695/atom_f.out
Then following the template in
MARTINS2ABINIT/_atom-5.695/atom_table.dat
I used the next input for Gallium
Code: Select all
pg Gallium From Kocinski Ecut ~ 81Ry l=0 (maybe 1) as local
tm2
n=Ga c=car
0.0 0.0 0.0 0.0 0.0 0.0
5 3
4 0 2.00 0.00
4 1 1.00 0.00
3 2 10.00 0.00
2.10 2.10 2.10
and the next input for Arsenic
[which ABINIT complained about]
Code: Select all
pg Arsenic Guess Ecut ~ 20Ry l=2 (maybe 0,1) as local
tm2
n=As c=car
0.0 0.0 0.0 0.0 0.0 0.0
6 3
4 0 2.00 0.00
4 1 3.00 0.00
4 2 0.00 0.00
2.10 2.10 2.10
After running atom.exe on those input files, the results were:
for gallium [next one seems OK]
Code: Select all
atom-LDAca20-JUL-14 Gallium From Kocinski Ecut ~ 81Ry l=0
*********************
Ga pseudopotential generation
-----------------------------
r e l a t i v i s t i c ! !
correlation = ca spin-polarized
nuclear charge = 31.000000
number of core orbitals = 7
number of valence orbitals = 5
electronic charge = 31.000000
ionic charge = 0.000000
input data for orbitals
i n l s j occ
1 1 0 0.5 0.5 2.0000
2 2 0 0.5 0.5 2.0000
3 2 1 -0.5 0.5 2.0000
4 2 1 0.5 1.5 4.0000
5 3 0 0.5 0.5 2.0000
6 3 1 -0.5 0.5 2.0000
7 3 1 0.5 1.5 4.0000
8 4 0 0.5 0.5 2.0000
9 4 1 -0.5 0.5 0.3333
10 4 1 0.5 1.5 0.6667
11 3 2 -0.5 1.5 4.0000
12 3 2 0.5 2.5 6.0000
radial grid parameters
r(1) = .0 , r(2) =0.101E-05 , ... , r(1138) = 118.927
a = 6.000 b = 80.000
n = 1 l = 0 s = 0.5
a extr 4.043
b extr -0.457
r extr 0.032
r zero
r 90/99 % 0.088 0.141
n = 2 l = 0 s = 0.5
a extr 1.115 -2.251
b extr -0.163 0.045
r extr 0.024 0.183
r zero 0.065
r 90/99 % 0.338 0.492
n = 2 l = 1 s =-0.5
a extr 2.235
b extr 0.055
r extr 0.145
r zero
r 90/99 % 0.310 0.468
n = 2 l = 1 s = 0.5
a extr 2.222
b extr -0.110
r extr 0.148
r zero
r 90/99 % 0.314 0.474
n = 3 l = 0 s = 0.5
a extr 0.428 -0.744 1.382
b extr -0.064 0.018 -0.009
r extr 0.024 0.150 0.566
r zero 0.063 0.267
r 90/99 % 0.979 1.406
n = 3 l = 1 s =-0.5
a extr 0.700 -1.314
b extr 0.023 -0.008
r extr 0.112 0.562
r zero 0.237
r 90/99 % 1.042 1.535
n = 3 l = 1 s = 0.5
a extr 0.694 -1.304
b extr -0.044 0.017
r extr 0.115 0.570
r zero 0.241
r 90/99 % 1.055 1.554
n = 4 l = 0 s = 0.5
a extr 0.114 -0.195 0.319 -0.715
b extr -0.017 0.005 -0.003 0.001
r extr 0.024 0.147 0.488 1.885
r zero 0.063 0.260 0.808
r 90/99 % 3.547 5.291
n = 4 l = 1 s =-0.5
a extr 0.127 -0.214 0.568
b extr 0.004 -0.002 0.001
r extr 0.111 0.486 2.487
r zero 0.232 0.860
r 90/99 % 5.358 8.195
n = 4 l = 1 s = 0.5
a extr 0.126 -0.211 0.562
b extr -0.008 0.003 -0.002
r extr 0.113 0.493 2.537
r zero 0.236 0.875
r 90/99 % 5.425 8.298
n = 3 l = 2 s =-0.5
a extr 1.098
b extr 0.015
r extr 0.529
r zero
r 90/99 % 1.389 2.377
n = 3 l = 2 s = 0.5
a extr 1.093
b extr -0.022
r extr 0.532
r zero
r 90/99 % 1.406 2.377
Total number of iterations needed for electron screening potential is 22
Ga output data for orbitals
----------------------------
nl s occ eigenvalue kinetic energy pot energy
1s 0.5 2.0000 -747.93682004 0.00000000 -1934.31093355
2s 0.5 2.0000 -92.36470510 0.00000000 -425.51311655
2p -0.5 2.0000 -81.93285893 0.00000000 -423.60254808
2p 0.5 4.0000 -79.91418014 0.00000000 -412.80667019
3s 0.5 2.0000 -10.80531543 0.00000000 -135.68432792
3p -0.5 2.0000 -7.41914706 0.00000000 -127.80939159
3p 0.5 4.0000 -7.15275657 0.00000000 -125.16339730
4s 0.5 2.0000 -0.67297295 0.00000000 -34.87750125
4p -0.5 0.3333 -0.20741728 0.00000000 -24.47891848
4p 0.5 0.6667 -0.19848577 0.00000000 -23.96211732
3d -0.5 4.0000 -1.44854755 0.00000000 -102.73001473
3d 0.5 6.0000 -1.41453160 0.00000000 -101.96111903
total energies
--------------
sum of eigenvalues = -2245.01422863
kinetic energy from ek = 0.00000000
el-ion interaction energy = -9362.29706538
el-el interaction energy = 1677.62985754
vxc correction = -185.45936861
virial correction = 10.39071222
exchange + corr energy = -141.69220451
kinetic energy from ev = 3947.48249029
potential energy = -7826.35941236
---------------------------------------------
total energy = -3878.87692207
virial theorem(nonrelativistic)
--------------
kinetic energy * 2 = 7894.96498058
potential energy = -7826.35941236
virial correction = 10.39071222
---------------------------------------------
virial sum = 78.99628044
Pseudopotential generation file number 1
Ga pseudopotential generation using the Improved Troullier and Martins method
------------------------------------------------------------
nl s eigenvalue rc cdrc delta
1s 0.5 -0.672973 2.097979 0.455005 -1.482336
2p -0.5 -0.207417 2.097979 0.201114 -1.603455
2p 0.5 -0.198486 2.097979 0.188924 -1.656638
3d -0.5 -1.448548 2.097979 0.982087 2.234360
3d 0.5 -1.414532 2.097979 0.981185 2.224849
n = 1 l = 0 s = 0.5
a extr 0.715
r extr 1.891
r zero
r 90/99 % 3.547 5.291
n = 2 l = 1 s =-0.5
a extr 0.568
r extr 2.487
r zero
r 90/99 % 5.358 8.195
n = 2 l = 1 s = 0.5
a extr 0.562
r extr 2.537
r zero
r 90/99 % 5.425 8.298
n = 3 l = 2 s =-0.5
a extr 1.193
r extr 0.829
r zero
r 90/99 % 1.424 2.377
n = 3 l = 2 s = 0.5
a extr 1.189
r extr 0.832
r zero
r 90/99 % 1.442 2.377
test of eigenvalues
rcut = s 2.47 p 2.47 p 2.47 d 2.47 d 2.47
eval = -0.67296 -0.20740 -0.19848 -1.44855 -1.41453
l vps(0) vpsmin at r
s -22.825 -22.825 0.000
p -25.518 -25.518 0.000
p -25.470 -25.470 0.000
d -55.470 -55.470 0.000
d -55.322 -55.322 0.000
Ga output data for orbitals
----------------------------
nl s occ eigenvalue kinetic energy pot energy
1s 0.5 2.0000 -0.67296373 0.44583822 -12.24717724
2p -0.5 0.3333 -0.20740235 0.55165856 -9.25392284
2p 0.5 0.6667 -0.19847548 0.53016941 -9.07825211
3d -0.5 4.0000 -1.44854723 12.73592217 -33.51368385
3d 0.5 6.0000 -1.41453172 12.63352542 -33.33824704
total energies
--------------
sum of eigenvalues = -15.82875781
kinetic energy from ek = 128.17385010
el-ion interaction energy = -367.71538111
el-el interaction energy = 123.32610578
vxc correction = -22.93931931
virial correction = 1.03454200
exchange + corr energy = -17.46312498
kinetic energy from ev = 128.17373105
potential energy = -261.85240031
---------------------------------------------
total energy = -133.67866926
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The total time for the calculation is 0.27355 seconds
and the result for Arsenic [which later turns problematic]
Code: Select all
atom-LDAca20-JUL-14 Arsenic Guess Ecut ~ 20Ry l=2 (maybe
*********************
As pseudopotential generation
-----------------------------
r e l a t i v i s t i c ! !
correlation = ca spin-polarized
nuclear charge = 33.000000
number of core orbitals = 9
number of valence orbitals = 5
electronic charge = 33.000000
ionic charge = 0.000000
input data for orbitals
i n l s j occ
1 1 0 0.5 0.5 2.0000
2 2 0 0.5 0.5 2.0000
3 2 1 -0.5 0.5 2.0000
4 2 1 0.5 1.5 4.0000
5 3 0 0.5 0.5 2.0000
6 3 1 -0.5 0.5 2.0000
7 3 1 0.5 1.5 4.0000
8 3 2 -0.5 1.5 4.0000
9 3 2 0.5 2.5 6.0000
10 4 0 0.5 0.5 2.0000
11 4 1 -0.5 0.5 1.0000
12 4 1 0.5 1.5 2.0000
13 4 2 -0.5 1.5 0.0000
14 4 2 0.5 2.5 0.0000
radial grid parameters
r(1) = .0 , r(2) =0.945E-06 , ... , r(1143) = 118.925
a = 6.000 b = 80.000
n = 1 l = 0 s = 0.5
a extr 4.173
b extr -0.503
r extr 0.030
r zero
r 90/99 % 0.081 0.132
n = 2 l = 0 s = 0.5
a extr 1.161 -2.334
b extr -0.181 0.051
r extr 0.023 0.171
r zero 0.061
r 90/99 % 0.314 0.456
n = 2 l = 1 s =-0.5
a extr 2.321
b extr 0.061
r extr 0.135
r zero
r 90/99 % 0.287 0.434
n = 2 l = 1 s = 0.5
a extr 2.305
b extr -0.122
r extr 0.137
r zero
r 90/99 % 0.291 0.440
n = 3 l = 0 s = 0.5
a extr 0.453 -0.782 1.445
b extr -0.072 0.021 -0.010
r extr 0.022 0.139 0.523
r zero 0.059 0.248
r 90/99 % 0.897 1.272
n = 3 l = 1 s =-0.5
a extr 0.743 -1.382
b extr 0.026 -0.010
r extr 0.104 0.516
r zero 0.220
r 90/99 % 0.943 1.372
n = 3 l = 1 s = 0.5
a extr 0.736 -1.371
b extr -0.050 0.019
r extr 0.107 0.524
r zero 0.224
r 90/99 % 0.954 1.406
n = 3 l = 2 s =-0.5
a extr 1.204
b extr 0.019
r extr 0.474
r zero
r 90/99 % 1.137 1.828
n = 3 l = 2 s = 0.5
a extr 1.200
b extr -0.027
r extr 0.476
r zero
r 90/99 % 1.137 1.851
n = 4 l = 0 s = 0.5
a extr 0.138 -0.236 0.381 -0.801
b extr -0.022 0.006 -0.003 0.002
r extr 0.022 0.137 0.448 1.608
r zero 0.059 0.241 0.735
r 90/99 % 2.904 4.225
n = 4 l = 1 s =-0.5
a extr 0.175 -0.288 0.673
b extr 0.006 -0.002 0.001
r extr 0.102 0.442 1.946
r zero 0.214 0.770
r 90/99 % 3.920 5.995
n = 4 l = 1 s = 0.5
a extr 0.172 -0.284 0.666
b extr -0.012 0.005 -0.002
r extr 0.105 0.449 1.986
r zero 0.218 0.783
r 90/99 % 4.019 6.071
n = 4 l = 2 s =-0.5
a extr 0.000 -0.204
b extr 0.000 -0.000
r extr 0.419 111.685
r zero 0.974
r 90/99 % 117.448 118.925
WARNING: This orbital is not bound!
n = 4 l = 2 s = 0.5
a extr 0.000 -0.204
b extr -0.000 0.000
r extr 0.421 111.685
r zero 0.981
r 90/99 % 117.448 118.925
WARNING: This orbital is not bound!
Total number of iterations needed for electron screening potential is 25
As output data for orbitals
----------------------------
nl s occ eigenvalue kinetic energy pot energy
1s 0.5 2.0000 -856.76483983 0.00000000 -2201.59949732
2s 0.5 2.0000 -108.78700069 0.00000000 -487.98343109
2p -0.5 2.0000 -97.38414173 0.00000000 -486.22424696
2p 0.5 4.0000 -94.71578591 0.00000000 -472.13734644
3s 0.5 2.0000 -13.88869473 0.00000000 -157.69811785
3p -0.5 2.0000 -10.03942327 0.00000000 -149.76218919
3p 0.5 4.0000 -9.67099146 0.00000000 -146.33376884
3d -0.5 4.0000 -3.04019661 0.00000000 -126.47505350
3d 0.5 6.0000 -2.98657277 0.00000000 -125.55349893
4s 0.5 2.0000 -1.07824311 0.00000000 -45.21096031
4p -0.5 1.0000 -0.40706755 0.00000000 -34.74903601
4p 0.5 2.0000 -0.38639266 0.00000000 -33.94651263
4d -0.5 0.0000 0.00000000 0.00000000 -0.65084801
4d 0.5 0.0000 0.00000000 0.00000000 -0.65084800
total energies
--------------
sum of eigenvalues = -2624.69187213
kinetic energy from ek = 0.00000000
el-ion interaction energy = -10892.70461543
el-el interaction energy = 1934.93911766
vxc correction = -204.91729016
virial correction = 12.09574791
exchange + corr energy = -156.71190460
kinetic energy from ev = 4603.05179813
potential energy = -9114.47740236
---------------------------------------------
total energy = -4511.42560423
virial theorem(nonrelativistic)
--------------
kinetic energy * 2 = 9206.10359626
potential energy = -9114.47740236
virial correction = 12.09574791
---------------------------------------------
virial sum = 103.72194180
Pseudopotential generation file number 1
As pseudopotential generation using the Improved Troullier and Martins method
------------------------------------------------------------
nl s eigenvalue rc cdrc delta
1s 0.5 -1.078243 2.097942 0.644913 -0.965386
2p -0.5 -0.407068 2.097942 0.402207 -0.962379
2p 0.5 -0.386393 2.097942 0.382631 -1.030067
3d -0.5 0.000000 2.097942 0.000000 -11.325842
3d 0.5 0.000000 2.097942 0.000000 -11.297860
n = 1 l = 0 s = 0.5
a extr 0.793
r extr 1.655
r zero
r 90/99 % 2.904 4.225
n = 2 l = 1 s =-0.5
a extr 0.673
r extr 1.947
r zero
r 90/99 % 3.920 5.995
n = 2 l = 1 s = 0.5
a extr 0.666
r extr 1.986
r zero
r 90/99 % 4.019 6.071
n = 3 l = 2 s =-0.5
a extr 0.205
r extr 111.091
r zero
r 90/99 % 117.448 118.925
WARNING: This orbital is not bound!
n = 3 l = 2 s = 0.5
a extr 0.205
r extr 111.091
r zero
r 90/99 % 117.448 118.925
WARNING: This orbital is not bound!
test of eigenvalues
rcut = s 3.33 p 3.33 p 3.33 d 3.33 d 3.33
eval = -1.07824 -0.40706 -0.38639 0.00000 0.00000
l vps(0) vpsmin at r
s -3.401 -6.914 1.460
p -5.759 -6.717 1.321
p -5.537 -6.622 1.355
d -16.826 -16.826 0.000
d -17.206 -17.206 0.000
As output data for orbitals
----------------------------
nl s occ eigenvalue kinetic energy pot energy
1s 0.5 2.0000 -1.07824364 0.62157728 -5.16879993
2p -0.5 1.0000 -0.40705615 0.93946229 -4.44241103
2p 0.5 2.0000 -0.38638650 0.90064093 -4.34953262
3d -0.5 0.0000 0.00000000 0.00142615 -0.09882329
3d 0.5 0.0000 0.00000000 0.00142615 -0.09882329
total energies
--------------
sum of eigenvalues = -3.33631642
kinetic energy from ek = 3.98389871
el-ion interaction energy = -23.47907612
el-el interaction energy = 9.88037926
vxc correction = -3.60195322
virial correction = 0.24459470
exchange + corr energy = -2.76261359
kinetic energy from ev = 3.98395439
potential energy = -16.36131044
---------------------------------------------
total energy = -12.37735605
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The total time for the calculation is 0.27475 seconds
then I ran
Martins2Abinit.exe so
to produce Spin-Orbit pseudopotentials.
The header for ABINIT's Gallium pseudo was
Code: Select all
Psp for Gallium (LDA-ca - fully relativ.) using Improved Troullier and Martins method (from JL Martins psp generator)
31. 13.00 140720 : zatom,zion,pspdat
5 2 2 0 977 0.0 : pspcod,pspxc,lmax,lloc,mmax,r2well
5.908270609269090E-04 1.250000000000000E-02 2 : aa,bb,pspso
0 0. 0. 1 2.097979 : l=1,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
1 0. 0. 2 2.097979 : l=2,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
1 0. 0. 2 2.097979 : l=2,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
2 0. 0. 2 2.097979 : l=3,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
2 0. 0. 2 2.097979 : l=3,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
0.0 0.0 0.0 : rchrg,fchrg,qchrg
0 =l for pseudopotential
-1.1412668751218E+01 -1.1412668750092E+01 -1.1412668748939E+01
-1.1412668747755E+01 -1.1412668746541E+01 -1.1412668745297E+01
-1.1412668744021E+01 -1.1412668742713E+01 -1.1412668741371E+01
.
.
.
and the header for ABINIT's Arsenic pseudo was
[which later turns problematic]
Code: Select all
Psp for Arsenic (LDA-ca - fully relativ.) using Improved Troullier and Martins method (from JL Martins psp generator)
33. 5.00 140720 : zatom,zion,pspdat
5 2 2 0 982 0.0 : pspcod,pspxc,lmax,lloc,mmax,r2well
5.550193602646721E-04 1.250000000000000E-02 2 : aa,bb,pspso
0 0. 0. 1 2.097942 : l=1,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
1 0. 0. 2 2.097942 : l=2,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
1 0. 0. 2 2.097942 : l=2,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
2 0. 0. 2 2.097942 : l=3,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
2 0. 0. 2 2.097942 : l=3,e99.0,e99.9,nproj,rcpsp
0.0 0.0 0.0 0.0 : rms,ekb1,ekb2,epsatm
0.0 0.0 0.0 : rchrg,fchrg,qchrg
0 =l for pseudopotential
-1.7003192967764E+00 -1.7003192947281E+00 -1.7003192926279E+00
-1.7003192904745E+00 -1.7003192882667E+00 -1.7003192860029E+00
-1.7003192836818E+00 -1.7003192813019E+00 -1.7003192788618E+00
-1.7003192763600E+00 -1.7003192737948E+00 -1.7003192711646E+00
-1.7003192684679E+00 -1.7003192657029E+00 -1.7003192628680E+00
-1.7003192599612E+00 -1.7003192569809E+00 -1.7003192539251E+00
.
.
.
In a moment I will post my ABINIT's input and log file in this thread,
apparently I have reach some limit in the message size.