%NProcShared=4 %chk=water #p RHF/6-31G* OPT Gaussian example: geometry optimization of water 0 1 O H 1 R H 1 R 2 A R 0.96 A 104.