Some .fchk files wont open in GaussView5.0 (Update)

A couple of weeks ago I posted a solution for a common error regarding .fchk files that will display the error below when opened with GaussView5.0. As I expected, this error has to do with the use of diffuse functions in the basis set and is related to a change of format between Gaussian versions.

CConnectionGFCHK::Parse_GFCHK()
Missing or bad data: Alpha Orbital Energies
Line Number 1234

Although the method described in the previous post works just fine, the following update is a better approach. Due to a change of spelling between G03 and G09 (which has been corrected for G09 but not available for GV versions prior to 5.0.9) one must change “independent” for “independant

To make the change directly from the terminal the following command is needed:

sed -i 's/independent/independant/g' file.fchk

Alternatively you can redirect the output to a new file

sed -e 's/independent/independant/g' file.fchk > newfile.fchk

if you want to keep the old version and work with a new one.

Of course this edition can be performed manually with any text editor available (for example if you work in Windows) but solutions from the terminal always seem easier and a lot more fun to me.

Thanks to Dr. Fernando Cortés for sharing his insight into this issue.

Advertisements

About joaquinbarroso

Theoretical chemist in his early thirties, in love with life and deeply in love with his woman. I love science, baseball, literature, movies (perhaps even in that order). I'm passionate about food and lately wines have become a major hobby. In a nutshell I'm filled with regrets but also with hope, and that is called "living".

Posted on May 19, 2014, in Computational Chemistry, Gaussian, Tricks, Visualization, White papers and tagged , , , , , , , , , , , . Bookmark the permalink. 2 Comments.

  1. Thanks for this. It worked well enough for us in Gaussview 5.0.8 and Gaussian 09 rev C01 but we have new problems with rev D01. The formcheck file created by this process now fails in the cubegen step. I have a workaround at my web page.
    http://glab.cchem.berkeley.edu/glab/faqs/cubegen_C01.html#revD01
    I’d appreciate any feedback. – Kathy

    • Hi Kathy, thanks for sharing your solution with us; very elegant indeed and quite useful for batch processing.
      I didn’t have any problems with cubegen and the revD01 version of G09 until just recently. I have no idea why 🙂 but I will try your solution and write a similar script to yours.

      Thanks for your message, for reading and linking this post to your FAQs page.

      Have a nice day

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: