Ok, solved the problem. It was really stupid too. I was throwing "0" into the subroutine but i had to define variables that are zero to put into the code. Rookie mistake.
Hey folks, I'm having an issue using a routine from the netlib that is supposed to calculate eigenvalues and eigenvectors. The canned routine can be found here:
http://www.netlib.org/seispack/rgg.f
I want to find the eigenvalues of a matrix (a more complex hamiltonian), so for my simple...