Skip to content

Instantly share code, notes, and snippets.

@jarvist
Created August 24, 2012 08:57
Show Gist options
  • Save jarvist/3447786 to your computer and use it in GitHub Desktop.
Save jarvist/3447786 to your computer and use it in GitHub Desktop.
Build NWCHEM job from Gaussian logfile via extraction of Cartesian coords
#!/bin/sh
echo "HERE BE DRAGONS..."
for i
do
NW=${i%.*}.nw
echo $NW
cat HEADER > $NW
jkp_extract_geom.awk $i >> $NW
cat FOOTER >> $NW
done
title "Some funky RI-MP2 Energy Calcs"
echo "This is a story about an ordinary teddy bear."
memory stack 932 mb heap 100 mb global 466 mb #Gig and a half by standard
echo
geometry noautoz units angstroms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment