I'm trying to learn how to use GAMESS. I used Avogadro to download the structure of tricalcium bis(phosphate), then I accidentally ran a runtyp=energy on the structure and it succeeded, so I assumed the resulting structure is better than what avogadro got and used that one instead.
I don't even know if geometry optimization is the first thing I should do. Maybe I should use another runtyp first and then optimize the result?
Maybe the fact that it's a salt is what's getting in the way? Maybe I have to specify the charges of the cations and anions somewhere.
Maybe I have to preoptimize it in Avogadro, because I don't think the straight line of 3 Ca followed by 2 $PO_4$ perfectly aligned remotely resembles what $Ca_3(PO_4)_2$ looks like. (save the pastebin as .log and open it in avogadro so you'll see how it is structured)
Here's a pastebin of the result. The input is printed in the begining, I took off the extended credits section on the begining.