Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to extract the geometry for every single step of a Gaussian09 optimization from the .log file. I need the results in cartesian XYZ format, either in one file or in multiple files.

First I tried to do this in open babel, but when I run

obabel -ig09 gaussian_output.log -oxyz -m -O

the program seems to fetch only the last geometry. Any other suggestions for a quick solution?

share|improve this question
Extracting such information is typically done with scripting. You can write a simple Python (or awk, perl, ...) script to get the job done. – Toon Verstraelen Feb 1 '13 at 6:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.