VASP Segmentation Fault Seemingly due to Vacuum Width?
Posted: Tue Mar 03, 2020 12:29 am
I have multiple systems with the following Bravais lattice and k-mesh:
From POSCAR:
11.26488000 0.00000000 0.00000000
-5.63244000 9.75567225 0.00000000
0.00000000 0.00000000 30.00000000
a.k.a.
A: 11.26488
B: 11.26488
C: 30
alpha:90
beta: 90
gamma: 60 or 120
From KPOINTS:
Automatic mesh
0
Gamma
8 8 1
0. 0. 0.
I am modeling a bulk system for Pt(111) (64-80 metal atoms in total), as well as small adsorbates (<10 atoms). This run fails with the above lattice and ENCUT=400 (C ENMAX), but tends to run when the z-dimension is reduced to 20 or 10 A or when ENCUT is set to 230.283 (Pt ENMAX). When I try minimizing the the same unit cell with only the adsorbate present it takes reducing the z-dimension of the unit cell to <10 A before the calculation might run. I do change the POTCAR to reflect the change in elements. (INCAR, example POSCAR, KPOINTS, and error_file below)
Some hunting online has shown that reducing the vacuum size does help reduce the likelihood of SEGSIEV errors, but I do not see any clear explanations as to why this is the case, nor can I find the relationship between ENCUT and unit cell size.
As a result, I am looking for an explanation for why reducing the size of my unit cell is allowing my calculations to run. Is there a scaling law I should be following to ensure I do not get this error in the future? I have looked on this forum and in the VASP manual for more information, but have yet to find an explanation. If this phenomena is discussed elsewhere, I would appreciate someone pointing me in that direction.
Thanks,
Mark
##########################################################
Working INCAR
##########################################################
PREC = Accurate
ENCUT = 230.283
IBRION = 3
NSW = 250
EDIFF = 1.0e-04
EDIFFG = -0.01
ALGO = Normal (blocked Davidson)
IVDW = 11
VDW_S6 = 1.0
VDW_S8 = 0.722
VDW_SR = 1.217
#SYMPREC = 10e-4
# Defaults
NWRITE = 2
ISIF = 2
NELMIN = 2
NBLOCK = 1
NELM = 60
ISPIN = 1
INIWAV = 1
ISTART = 0
ICHARG = 2
LWAVE = .FALSE.
LCHARG = .FALSE.
ADDGRID = .FALSE.
LHYPERFINE = .FALSE.
ISMEAR = 1
SIGMA = 0.2
LREAL = .FALSE.
##########################################################
Working POSCAR
##########################################################
(Pt)64 (P1) ~ Pt 1 1 1 surface_4x4x1
1.00000000000000
11.2648799999999998 0.0000000000000000 0.0000000000000000
-5.6324399999999999 9.7556722499999999 0.0000000000000000
0.0000000000000000 0.0000000000000000 30.0000000000000000
Pt
64
Selective dynamics
Direct
0.0021286799999984 0.0013231599999983 0.2249378682276826 T T T
0.0854620100000005 0.1679898200000025 0.2999680875985232 T T T
0.0854620100000005 0.1679898200000025 0.0749533500000013 F F F
0.1687953500000035 0.0846564900000004 0.1516010100000003 F F F
0.0021286799999984 0.2513231599999983 0.2249378682276826 T T T
0.0854620100000005 0.4179898200000025 0.2999680875985232 T T T
0.0854620100000005 0.4179898200000025 0.0749533500000013 F F F
0.1687953500000035 0.3346564900000004 0.1516010100000003 F F F
0.0021286799999984 0.5013231599999983 0.2249378682276826 T T T
0.0854620100000005 0.6679898200000025 0.2999680875985232 T T T
0.0854620100000005 0.6679898200000025 0.0749533500000013 F F F
0.1687953500000035 0.5846564900000004 0.1516010100000003 F F F
0.0021286799999984 0.7513231599999983 0.2249378682276826 T T T
0.0854620100000005 0.9179898200000025 0.2999680875985232 T T T
0.0854620100000005 0.9179898200000025 0.0749533500000013 F F F
0.1687953500000035 0.8346564900000004 0.1516010100000003 F F F
0.2521286799999984 0.0013231599999983 0.2249378682276826 T T T
0.3354620100000005 0.1679898200000025 0.2999680875985232 T T T
0.3354620100000005 0.1679898200000025 0.0749533500000013 F F F
0.4187953500000035 0.0846564900000004 0.1516010100000003 F F F
0.2521286799999984 0.2513231599999983 0.2249378682276826 T T T
0.3354620100000005 0.4179898200000025 0.2999680875985232 T T T
0.3354620100000005 0.4179898200000025 0.0749533500000013 F F F
0.4187953500000035 0.3346564900000004 0.1516010100000003 F F F
0.2521286799999984 0.5013231599999983 0.2249378682276826 T T T
0.3354620100000005 0.6679898200000025 0.2999680875985232 T T T
0.3354620100000005 0.6679898200000025 0.0749533500000013 F F F
0.4187953500000035 0.5846564900000004 0.1516010100000003 F F F
0.2521286799999984 0.7513231599999983 0.2249378682276826 T T T
0.3354620100000005 0.9179898200000025 0.2999680875985232 T T T
0.3354620100000005 0.9179898200000025 0.0749533500000013 F F F
0.4187953500000035 0.8346564900000004 0.1516010100000003 F F F
0.5021286799999984 0.0013231599999983 0.2249378682276826 T T T
0.5854620100000005 0.1679898200000025 0.2999680875985232 T T T
0.5854620100000005 0.1679898200000025 0.0749533500000013 F F F
0.6687953500000035 0.0846564900000004 0.1516010100000003 F F F
0.5021286799999984 0.2513231599999983 0.2249378682276826 T T T
0.5854620100000005 0.4179898200000025 0.2999680875985232 T T T
0.5854620100000005 0.4179898200000025 0.0749533500000013 F F F
0.6687953500000035 0.3346564900000004 0.1516010100000003 F F F
0.5021286799999984 0.5013231599999983 0.2249378682276826 T T T
0.5854620100000005 0.6679898200000025 0.2999680875985232 T T T
0.5854620100000005 0.6679898200000025 0.0749533500000013 F F F
0.6687953500000035 0.5846564900000004 0.1516010100000003 F F F
0.5021286799999984 0.7513231599999983 0.2249378682276826 T T T
0.5854620100000005 0.9179898200000025 0.2999680875985232 T T T
0.5854620100000005 0.9179898200000025 0.0749533500000013 F F F
0.6687953500000035 0.8346564900000004 0.1516010100000003 F F F
0.7521286799999984 0.0013231599999983 0.2249378682276826 T T T
0.8354620100000005 0.1679898200000025 0.2999680875985232 T T T
0.8354620100000005 0.1679898200000025 0.0749533500000013 F F F
0.9187953500000035 0.0846564900000004 0.1516010100000003 F F F
0.7521286799999984 0.2513231599999983 0.2249378682276826 T T T
0.8354620100000005 0.4179898200000025 0.2999680875985232 T T T
0.8354620100000005 0.4179898200000025 0.0749533500000013 F F F
0.9187953500000035 0.3346564900000004 0.1516010100000003 F F F
0.7521286799999984 0.5013231599999983 0.2249378682276826 T T T
0.8354620100000005 0.6679898200000025 0.2999680875985232 T T T
0.8354620100000005 0.6679898200000025 0.0749533500000013 F F F
0.9187953500000035 0.5846564900000004 0.1516010100000003 F F F
0.7521286799999984 0.7513231599999983 0.2249378682276826 T T T
0.8354620100000005 0.9179898200000025 0.2999680875985232 T T T
0.8354620100000005 0.9179898200000025 0.0749533500000013 F F F
0.9187953500000035 0.8346564900000004 0.1516010100000003 F F F
##########################################################
Non-functioning INCAR
##########################################################
PREC = Accurate
ENCUT = 400
IBRION = 3
NSW = 250
EDIFF = 1.0e-04
EDIFFG = -0.01
ALGO = Normal (blocked Davidson)
IVDW = 11
VDW_S6 = 1.0
VDW_S8 = 0.722
VDW_SR = 1.217
#SYMPREC = 10e-4
# Defaults
NWRITE = 2
ISIF = 2
NELMIN = 2
NBLOCK = 1
NELM = 60
ISPIN = 1
INIWAV = 1
ISTART = 0
ICHARG = 2
LWAVE = .FALSE.
LCHARG = .FALSE.
ADDGRID = .FALSE.
LHYPERFINE = .FALSE.
ISMEAR = 1
SIGMA = 0.2
LREAL = .FALSE.
##########################################################
Non-functioning POSCAR
##########################################################
(C)1 (H)4 (P1)
1.00000000000000
11.2648799999999998 0.0000000000000000 0.0000000000000000
-5.6324399999999999 9.7556722499999999 0.0000000000000000
0.0000000000000000 0.0000000000000000 30.0000000000000000
C H
1 4
Selective dynamics
Direct
0.5194936700000000 0.3147349800000000 0.5262534900000000 T T T
0.6049203200000000 0.2087695000000000 0.5262534600000000 T T T
0.5254483200000000 0.3677169800000000 0.5560955700000000 T T T
0.5254481400000000 0.3677170800000000 0.4964114100000000 T T T
0.4221579100000000 0.3147363400000000 0.5262535200000000 T T T
##########################################################
error_file
##########################################################
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
vasp_std 00000000016D0FC5 Unknown Unknown Unknown
vasp_std 00000000016CED87 Unknown Unknown Unknown
vasp_std 000000000164EFD4 Unknown Unknown Unknown
vasp_std 000000000164EDE6 Unknown Unknown Unknown
vasp_std 00000000015F0C46 Unknown Unknown Unknown
vasp_std 00000000015F69C0 Unknown Unknown Unknown
libpthread.so.0 00007FF745CD25F0 Unknown Unknown Unknown
vasp_std 00000000013F6DEF Unknown Unknown Unknown
vasp_std 00000000013F6181 Unknown Unknown Unknown
vasp_std 000000000086B0B8 Unknown Unknown Unknown
vasp_std 0000000000E77BA1 Unknown Unknown Unknown
vasp_std 000000000147B7BE Unknown Unknown Unknown
vasp_std 0000000001458BE6 Unknown Unknown Unknown
vasp_std 000000000040A06E Unknown Unknown Unknown
libc.so.6 00007FF745615505 Unknown Unknown Unknown
vasp_std 0000000000409F79 Unknown Unknown Unknown
srun: error: udc-ba35-16c7: task 0: Exited with exit code 174
srun: Terminating job step 9206835.0
slurmstepd: error: *** STEP 9206835.0 ON udc-ba35-16c7 CANCELLED AT 2020-03-02T19:08:34 ***
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
vasp_std 00000000016D0FC5 Unknown Unknown Unknown
vasp_std 00000000016CED87 Unknown Unknown Unknown
vasp_std 000000000164EFD4 Unknown Unknown Unknown
vasp_std 000000000164EDE6 Unknown Unknown Unknown
vasp_std 00000000015F0C46 Unknown Unknown Unknown
vasp_std 00000000015F698E Unknown Unknown Unknown
libpthread.so.0 00007F287AEF35F0 Unknown Unknown Unknown
libmpi.so.12 00007F287B642D61 Unknown Unknown Unknown
libmpi.so.12 00007F287B7AA1E0 Unknown Unknown Unknown
libmpi.so.12 00007F287B6277AE Unknown Unknown Unknown
libmpi.so.12 00007F287B62DB67 Unknown Unknown Unknown
libmpi.so.12 00007F287B62D1B3 Unknown Unknown Unknown
libmpifort.so.12 00007F287C1F3924 Unknown Unknown Unknown
vasp_std 0000000000413EF4 Unknown Unknown Unknown
vasp_std 000000000086B101 Unknown Unknown Unknown
vasp_std 0000000000E77BA1 Unknown Unknown Unknown
vasp_std 000000000147B7BE Unknown Unknown Unknown
vasp_std 0000000001458BE6 Unknown Unknown Unknown
vasp_std 000000000040A06E Unknown Unknown Unknown
libc.so.6 00007F287A836505 Unknown Unknown Unknown
vasp_std 0000000000409F79 Unknown Unknown Unknown
...
From POSCAR:
11.26488000 0.00000000 0.00000000
-5.63244000 9.75567225 0.00000000
0.00000000 0.00000000 30.00000000
a.k.a.
A: 11.26488
B: 11.26488
C: 30
alpha:90
beta: 90
gamma: 60 or 120
From KPOINTS:
Automatic mesh
0
Gamma
8 8 1
0. 0. 0.
I am modeling a bulk system for Pt(111) (64-80 metal atoms in total), as well as small adsorbates (<10 atoms). This run fails with the above lattice and ENCUT=400 (C ENMAX), but tends to run when the z-dimension is reduced to 20 or 10 A or when ENCUT is set to 230.283 (Pt ENMAX). When I try minimizing the the same unit cell with only the adsorbate present it takes reducing the z-dimension of the unit cell to <10 A before the calculation might run. I do change the POTCAR to reflect the change in elements. (INCAR, example POSCAR, KPOINTS, and error_file below)
Some hunting online has shown that reducing the vacuum size does help reduce the likelihood of SEGSIEV errors, but I do not see any clear explanations as to why this is the case, nor can I find the relationship between ENCUT and unit cell size.
As a result, I am looking for an explanation for why reducing the size of my unit cell is allowing my calculations to run. Is there a scaling law I should be following to ensure I do not get this error in the future? I have looked on this forum and in the VASP manual for more information, but have yet to find an explanation. If this phenomena is discussed elsewhere, I would appreciate someone pointing me in that direction.
Thanks,
Mark
##########################################################
Working INCAR
##########################################################
PREC = Accurate
ENCUT = 230.283
IBRION = 3
NSW = 250
EDIFF = 1.0e-04
EDIFFG = -0.01
ALGO = Normal (blocked Davidson)
IVDW = 11
VDW_S6 = 1.0
VDW_S8 = 0.722
VDW_SR = 1.217
#SYMPREC = 10e-4
# Defaults
NWRITE = 2
ISIF = 2
NELMIN = 2
NBLOCK = 1
NELM = 60
ISPIN = 1
INIWAV = 1
ISTART = 0
ICHARG = 2
LWAVE = .FALSE.
LCHARG = .FALSE.
ADDGRID = .FALSE.
LHYPERFINE = .FALSE.
ISMEAR = 1
SIGMA = 0.2
LREAL = .FALSE.
##########################################################
Working POSCAR
##########################################################
(Pt)64 (P1) ~ Pt 1 1 1 surface_4x4x1
1.00000000000000
11.2648799999999998 0.0000000000000000 0.0000000000000000
-5.6324399999999999 9.7556722499999999 0.0000000000000000
0.0000000000000000 0.0000000000000000 30.0000000000000000
Pt
64
Selective dynamics
Direct
0.0021286799999984 0.0013231599999983 0.2249378682276826 T T T
0.0854620100000005 0.1679898200000025 0.2999680875985232 T T T
0.0854620100000005 0.1679898200000025 0.0749533500000013 F F F
0.1687953500000035 0.0846564900000004 0.1516010100000003 F F F
0.0021286799999984 0.2513231599999983 0.2249378682276826 T T T
0.0854620100000005 0.4179898200000025 0.2999680875985232 T T T
0.0854620100000005 0.4179898200000025 0.0749533500000013 F F F
0.1687953500000035 0.3346564900000004 0.1516010100000003 F F F
0.0021286799999984 0.5013231599999983 0.2249378682276826 T T T
0.0854620100000005 0.6679898200000025 0.2999680875985232 T T T
0.0854620100000005 0.6679898200000025 0.0749533500000013 F F F
0.1687953500000035 0.5846564900000004 0.1516010100000003 F F F
0.0021286799999984 0.7513231599999983 0.2249378682276826 T T T
0.0854620100000005 0.9179898200000025 0.2999680875985232 T T T
0.0854620100000005 0.9179898200000025 0.0749533500000013 F F F
0.1687953500000035 0.8346564900000004 0.1516010100000003 F F F
0.2521286799999984 0.0013231599999983 0.2249378682276826 T T T
0.3354620100000005 0.1679898200000025 0.2999680875985232 T T T
0.3354620100000005 0.1679898200000025 0.0749533500000013 F F F
0.4187953500000035 0.0846564900000004 0.1516010100000003 F F F
0.2521286799999984 0.2513231599999983 0.2249378682276826 T T T
0.3354620100000005 0.4179898200000025 0.2999680875985232 T T T
0.3354620100000005 0.4179898200000025 0.0749533500000013 F F F
0.4187953500000035 0.3346564900000004 0.1516010100000003 F F F
0.2521286799999984 0.5013231599999983 0.2249378682276826 T T T
0.3354620100000005 0.6679898200000025 0.2999680875985232 T T T
0.3354620100000005 0.6679898200000025 0.0749533500000013 F F F
0.4187953500000035 0.5846564900000004 0.1516010100000003 F F F
0.2521286799999984 0.7513231599999983 0.2249378682276826 T T T
0.3354620100000005 0.9179898200000025 0.2999680875985232 T T T
0.3354620100000005 0.9179898200000025 0.0749533500000013 F F F
0.4187953500000035 0.8346564900000004 0.1516010100000003 F F F
0.5021286799999984 0.0013231599999983 0.2249378682276826 T T T
0.5854620100000005 0.1679898200000025 0.2999680875985232 T T T
0.5854620100000005 0.1679898200000025 0.0749533500000013 F F F
0.6687953500000035 0.0846564900000004 0.1516010100000003 F F F
0.5021286799999984 0.2513231599999983 0.2249378682276826 T T T
0.5854620100000005 0.4179898200000025 0.2999680875985232 T T T
0.5854620100000005 0.4179898200000025 0.0749533500000013 F F F
0.6687953500000035 0.3346564900000004 0.1516010100000003 F F F
0.5021286799999984 0.5013231599999983 0.2249378682276826 T T T
0.5854620100000005 0.6679898200000025 0.2999680875985232 T T T
0.5854620100000005 0.6679898200000025 0.0749533500000013 F F F
0.6687953500000035 0.5846564900000004 0.1516010100000003 F F F
0.5021286799999984 0.7513231599999983 0.2249378682276826 T T T
0.5854620100000005 0.9179898200000025 0.2999680875985232 T T T
0.5854620100000005 0.9179898200000025 0.0749533500000013 F F F
0.6687953500000035 0.8346564900000004 0.1516010100000003 F F F
0.7521286799999984 0.0013231599999983 0.2249378682276826 T T T
0.8354620100000005 0.1679898200000025 0.2999680875985232 T T T
0.8354620100000005 0.1679898200000025 0.0749533500000013 F F F
0.9187953500000035 0.0846564900000004 0.1516010100000003 F F F
0.7521286799999984 0.2513231599999983 0.2249378682276826 T T T
0.8354620100000005 0.4179898200000025 0.2999680875985232 T T T
0.8354620100000005 0.4179898200000025 0.0749533500000013 F F F
0.9187953500000035 0.3346564900000004 0.1516010100000003 F F F
0.7521286799999984 0.5013231599999983 0.2249378682276826 T T T
0.8354620100000005 0.6679898200000025 0.2999680875985232 T T T
0.8354620100000005 0.6679898200000025 0.0749533500000013 F F F
0.9187953500000035 0.5846564900000004 0.1516010100000003 F F F
0.7521286799999984 0.7513231599999983 0.2249378682276826 T T T
0.8354620100000005 0.9179898200000025 0.2999680875985232 T T T
0.8354620100000005 0.9179898200000025 0.0749533500000013 F F F
0.9187953500000035 0.8346564900000004 0.1516010100000003 F F F
##########################################################
Non-functioning INCAR
##########################################################
PREC = Accurate
ENCUT = 400
IBRION = 3
NSW = 250
EDIFF = 1.0e-04
EDIFFG = -0.01
ALGO = Normal (blocked Davidson)
IVDW = 11
VDW_S6 = 1.0
VDW_S8 = 0.722
VDW_SR = 1.217
#SYMPREC = 10e-4
# Defaults
NWRITE = 2
ISIF = 2
NELMIN = 2
NBLOCK = 1
NELM = 60
ISPIN = 1
INIWAV = 1
ISTART = 0
ICHARG = 2
LWAVE = .FALSE.
LCHARG = .FALSE.
ADDGRID = .FALSE.
LHYPERFINE = .FALSE.
ISMEAR = 1
SIGMA = 0.2
LREAL = .FALSE.
##########################################################
Non-functioning POSCAR
##########################################################
(C)1 (H)4 (P1)
1.00000000000000
11.2648799999999998 0.0000000000000000 0.0000000000000000
-5.6324399999999999 9.7556722499999999 0.0000000000000000
0.0000000000000000 0.0000000000000000 30.0000000000000000
C H
1 4
Selective dynamics
Direct
0.5194936700000000 0.3147349800000000 0.5262534900000000 T T T
0.6049203200000000 0.2087695000000000 0.5262534600000000 T T T
0.5254483200000000 0.3677169800000000 0.5560955700000000 T T T
0.5254481400000000 0.3677170800000000 0.4964114100000000 T T T
0.4221579100000000 0.3147363400000000 0.5262535200000000 T T T
##########################################################
error_file
##########################################################
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
vasp_std 00000000016D0FC5 Unknown Unknown Unknown
vasp_std 00000000016CED87 Unknown Unknown Unknown
vasp_std 000000000164EFD4 Unknown Unknown Unknown
vasp_std 000000000164EDE6 Unknown Unknown Unknown
vasp_std 00000000015F0C46 Unknown Unknown Unknown
vasp_std 00000000015F69C0 Unknown Unknown Unknown
libpthread.so.0 00007FF745CD25F0 Unknown Unknown Unknown
vasp_std 00000000013F6DEF Unknown Unknown Unknown
vasp_std 00000000013F6181 Unknown Unknown Unknown
vasp_std 000000000086B0B8 Unknown Unknown Unknown
vasp_std 0000000000E77BA1 Unknown Unknown Unknown
vasp_std 000000000147B7BE Unknown Unknown Unknown
vasp_std 0000000001458BE6 Unknown Unknown Unknown
vasp_std 000000000040A06E Unknown Unknown Unknown
libc.so.6 00007FF745615505 Unknown Unknown Unknown
vasp_std 0000000000409F79 Unknown Unknown Unknown
srun: error: udc-ba35-16c7: task 0: Exited with exit code 174
srun: Terminating job step 9206835.0
slurmstepd: error: *** STEP 9206835.0 ON udc-ba35-16c7 CANCELLED AT 2020-03-02T19:08:34 ***
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
vasp_std 00000000016D0FC5 Unknown Unknown Unknown
vasp_std 00000000016CED87 Unknown Unknown Unknown
vasp_std 000000000164EFD4 Unknown Unknown Unknown
vasp_std 000000000164EDE6 Unknown Unknown Unknown
vasp_std 00000000015F0C46 Unknown Unknown Unknown
vasp_std 00000000015F698E Unknown Unknown Unknown
libpthread.so.0 00007F287AEF35F0 Unknown Unknown Unknown
libmpi.so.12 00007F287B642D61 Unknown Unknown Unknown
libmpi.so.12 00007F287B7AA1E0 Unknown Unknown Unknown
libmpi.so.12 00007F287B6277AE Unknown Unknown Unknown
libmpi.so.12 00007F287B62DB67 Unknown Unknown Unknown
libmpi.so.12 00007F287B62D1B3 Unknown Unknown Unknown
libmpifort.so.12 00007F287C1F3924 Unknown Unknown Unknown
vasp_std 0000000000413EF4 Unknown Unknown Unknown
vasp_std 000000000086B101 Unknown Unknown Unknown
vasp_std 0000000000E77BA1 Unknown Unknown Unknown
vasp_std 000000000147B7BE Unknown Unknown Unknown
vasp_std 0000000001458BE6 Unknown Unknown Unknown
vasp_std 000000000040A06E Unknown Unknown Unknown
libc.so.6 00007F287A836505 Unknown Unknown Unknown
vasp_std 0000000000409F79 Unknown Unknown Unknown
...