SCF convergence problem in parallel run of a molecule
Posted: Wed Jul 13, 2011 7:24 pm
Dear Abinit users,
I am trying to optimize a molecule using the abinit code, so far I couldn't get it to converge the SCF in the first optimization step using 200 SCF cycles. I was runing the calculation parallel on 4 procs.
I would like to know what am I doing wrong in the input file? Does it need some key words that I am missing? Following is the input file that I have been using to optimize the geometry..
# optimize the geometry / interatomic distance
# optimizing after finding the optimal ecut as 20.0 and
# acell to be 8 8 8 angstroms from ecut-test and acell-test runs
ionmov 3 # Use the modified Broyden algorithm
ntime 20 # Maximum number of Broyden "timesteps"
tolmxf 5.0d-3 # Stopping criterion for the geometry optimization : when
# the residual forces are less than tolmxf, the Broyden
# algorithm can stop
#nsym=1 #nosymmetry
#starting value of the
#atomic coordinates
[ xangst ]
toldff 5.0d-4 # Will stop the SCF cycle when, twice in a row,
# the difference between two consecutive evaluations of
# forces differ by less than toldff (in Hartree/Bohr)
#toldfe 1.0d-6
#------------------------------------------------------------------------------
#Definition of the unit cell
acell 20 20 20 angstroms # The keyword "acell" refers to theI
# lengths of the primitive vectors (in Bohr)
#rprim 1 0 0 0 1 0 0 0 1 # This line, defining orthogonal primitive vectors,
# is commented, because it is precisely the default value of rprim
#Definition of the atom types
ntypat 4 #2 types of atom
znucl 79 16 6 1
#Au S C H
#Definition of the atoms
natom 115 # There are 115 atoms
typat 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4
3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
#Definition of the planewave basis set
ecut 20.0 # Maximal kinetic energy cut-off, in Hartree
#Definition of the k-point grid
#kptopt 1 # Enter the k points manually
#nshiftk 1
#shiftk 0.5 0.5 0.5
#nkpt 1 # Only one k point is needed for isolated system,
# # taken by default to be 0.0 0.0 0.0
#ngkpt 2 2 2
#Chksymbreak 0
#Definition of the SCF procedure
nstep 200 # Maximal number of SCF cycles
#toldfe is no more defined, as toldff is used above...
diemac 2.0
----
In the above another question that Arieses is , I want to treat it as a single molecule, but if used the keyword nkpt=1 the calculation halts. To my knowledge I must use nkpt=1 but the program does not allow me to use it.
I would also like to know is there any additional keywords that I need to use when running it on parallel ?
Thanks.
Neranjan
I am trying to optimize a molecule using the abinit code, so far I couldn't get it to converge the SCF in the first optimization step using 200 SCF cycles. I was runing the calculation parallel on 4 procs.
I would like to know what am I doing wrong in the input file? Does it need some key words that I am missing? Following is the input file that I have been using to optimize the geometry..
# optimize the geometry / interatomic distance
# optimizing after finding the optimal ecut as 20.0 and
# acell to be 8 8 8 angstroms from ecut-test and acell-test runs
ionmov 3 # Use the modified Broyden algorithm
ntime 20 # Maximum number of Broyden "timesteps"
tolmxf 5.0d-3 # Stopping criterion for the geometry optimization : when
# the residual forces are less than tolmxf, the Broyden
# algorithm can stop
#nsym=1 #nosymmetry
#starting value of the
#atomic coordinates
[ xangst ]
toldff 5.0d-4 # Will stop the SCF cycle when, twice in a row,
# the difference between two consecutive evaluations of
# forces differ by less than toldff (in Hartree/Bohr)
#toldfe 1.0d-6
#------------------------------------------------------------------------------
#Definition of the unit cell
acell 20 20 20 angstroms # The keyword "acell" refers to theI
# lengths of the primitive vectors (in Bohr)
#rprim 1 0 0 0 1 0 0 0 1 # This line, defining orthogonal primitive vectors,
# is commented, because it is precisely the default value of rprim
#Definition of the atom types
ntypat 4 #2 types of atom
znucl 79 16 6 1
#Au S C H
#Definition of the atoms
natom 115 # There are 115 atoms
typat 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4
3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
#Definition of the planewave basis set
ecut 20.0 # Maximal kinetic energy cut-off, in Hartree
#Definition of the k-point grid
#kptopt 1 # Enter the k points manually
#nshiftk 1
#shiftk 0.5 0.5 0.5
#nkpt 1 # Only one k point is needed for isolated system,
# # taken by default to be 0.0 0.0 0.0
#ngkpt 2 2 2
#Chksymbreak 0
#Definition of the SCF procedure
nstep 200 # Maximal number of SCF cycles
#toldfe is no more defined, as toldff is used above...
diemac 2.0
----
In the above another question that Arieses is , I want to treat it as a single molecule, but if used the keyword nkpt=1 the calculation halts. To my knowledge I must use nkpt=1 but the program does not allow me to use it.
I would also like to know is there any additional keywords that I need to use when running it on parallel ?
Thanks.
Neranjan