<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Tyler,<div><br></div><div>from this error it looks like you've got a different syntax problem. Could you send along your input? In general the wf command requires all the electrons (except for any that have been replaced by an ECP). You only need a closed or open directive if the occupation is ambiguous.</div><div><br></div><div>-Kirk</div><div><br></div><div>PS - the manual has lots of examples :^)</div><div><br><div><div>On Apr 2, 2009, at 11:56 AM, Tyler Thompson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I recently switched from Gaussian to Molpro for a number of calculations with ClO and BrO but have questions regarding the definition of the wave function. I am trying to calculate the optimized geometry and thermo data for the molecules. <div> <br></div><div>For ClO, I defined the wave function as wf, 25,1,1 and 25,1,3 but received an error stating </div><div><br></div><div> ILLEGAL COMMAND: BEGINWF</div><div> ? Error</div><div> ? Input error</div><div> ? The problem occurs in wfudef</div> <div><br></div><div>I think the problem is with the number of electrons. Should this number refer to the total number of electrons in the molecule or only to the valance electrons? Also, do I need to define open or closed shells for this species? </div> <div><br></div><div>Any help would be appreciated along with any examples that you can provide that way help me better learn this program. </div><div><br></div><div>Thanks,</div><div>Tyler Thompson</div><div><br></div><div> M.S. Energy Resources Engineering</div><div>Stanford University</div><div><a href="mailto:tylert@stanford.edu">tylert@stanford.edu</a></div> _______________________________________________<br>Molpro-user mailing list<br><a href="mailto:Molpro-user@molpro.net">Molpro-user@molpro.net</a><br>http://www.molpro.net/mailman/listinfo/molpro-user<br></blockquote></div><br></div></body></html>