Constraints on an atom for optimization calculations


Click here for full thread
Just Got Here
Hello

I am trying to run a dft calculation with constraint to fix an atom at its position. But at the end of calculation its position changes. following is my input file

start H2
title "H2"
charge 0

geometry units angstrom print xyz autosym

H1 0 0 0
H2 0 0 0.74
end
constraints
fix atom 2
end
basis
H1 library 6-31g
H2 library 6-31g
end
dft
mult 1
xc b3ylp
maxiter 1000
print "final evals" "final vectors"
end
driver
maxiter 1000
xyz test
end
task dft optimize






kindly help me to solve this problem

thank you

regards
chirag