Ab initio configuration interaction calculations have been carried out on t
he ground and excited electronic states of the BeOH and MgOH molecules as w
ell as of the cations BeOH+ and MgOH+, for linear and bent geometries. The
excited states of the above molecules have not previously been calculated a
nd experimental information exists only for the A-X system in MgOH and MgOD
. The present results show that in the excited states the molecules MgOH an
d BeOH have similar M-O (M = Mg,Be) stretching and bending potentials. In g
eneral, the stretching potentials are rather complicated, showing a number
of avoided crossings. Furthermore, most of the excited states show minima a
t R near R-min of the corresponding cations BeOH+ and MgOH+, indicating Ryd
berg contributions to the molecular excited states. The first excited state
in both BeOH and MgOH is 2 (2)A', which along with 1 (2)A ", forms the 1 (
2)Pi state of linear geometries and which in both systems has minimum energ
y at a bent geometry with bond angle near 115 degrees. In MgOH, the 2 (2)A'
state is the A state of the observed A-X spectra and the theoretical trans
ition energy and the barrier to linearity are in good agreement with the co
rresponding experimental quantities. Analogous spectra for BeOH, not report
ed as yet, would be expected on the basis of the present calculations at hi
gher energies than the MgOH spectra by 0.6 eV. The results on the molecular
ground-state potentials are similar to those of previous calculations, sho
wing a linear minimum geometry for MgOH but with a very shallow bending pot
ential, and for BeOH a bent minimum but with only a 50 cm(-1) barrier to li
nearity. (C) 1999 American Institute of Physics. [S0021-9606(99)30846-1].