In model.f90 I moved a couple of the integer declarations too far down and it wouldn't compile. Fixed that now.

I don't have a clue what changed in ran2__genmod.f90.

I will branch now.