Jerry DeLisle wrote: > Steve Kargl wrote: > >> Add "EXTERNAL RAN" to your code; otherwise gfortran will see >> RAN() as its intrinsic. >> > I tried this and I still get the same error. g77 compiles and runs fine > with "EXTERNAL RAN" added. > OK - placed EXTERNAL RAN inside the calling subroutine and that fixed it. Had to get scope right. -- Jerry