gfortran compiling problem,calling too many arguments

Hello,

My problem is with compiling a program modelling shallow water.

In it there is a subroutine called stat with 9 parameters.

In the main program it is called with 9 parameters also

I'm running Ubuntu 11.04 with gfortran version 4.5.

Thanks.

---------- Post updated at 11:57 PM ---------- Previous update was at 11:53 PM ----------

Oh and just to add the compiler output :
labshw.f:883.72:

    call stat\(npx,npy,grav,uinit,vinit,hinit,u,v,ho\)                
                                                                    1

Error: Too many arguments in call to 'stat' at (1)

---------- Post updated 16-01-11 at 12:56 PM ---------- Previous update was 15-01-11 at 11:57 PM ----------

I solved the problem by installing Intel's free comipler :slight_smile: