I have a quite complex Fortran program that I recently decided to add some interim print outputs to see certain calculated values on the screen. I started getting this message 'Attempt to call a routine with four arguments when three were required' from Main program line 313 start of first subroutine call to start of a FFT subroutine at line 919...
Weird I assumed there was some variable assign problem error, so I ended by asking for the most trivial of print outs e.g. print *, 'check message' and it still gave the same error message above so its not a a variable assignment error I don't think, i have even tried this trivial print out before any subroutine still the same errors, and further if I removed the print line the same error occurs...ie I cannot get rid of this error the program falls over...I have a separate unedited source of the original code I don't touch fortunately..