Hi,
I met such a problem when compiling some fortran codes. The error message is PGF90-S-0044-Multiple declaration for symbol. It complains the line of subroutine as shown below
integer*4 function checkdims (ncid, ncname, lstr, recsize)
USE Agrif_Util
CHARACTER :: ncname*80
INTEGER*4 :: ncid
INTEGER*4 :: lstr
INTEGER*4 :: recsize
Call Sub_Loop_checkdims( ncid,ncname,lstr,recsize
&,checkdims , Agrif_tabvars(187) % var% iarray0
&, Agrif_tabvars(188) % var% iarray0 , Agrif_tabvars(189)
&% var% iarray0 , Agrif_tabvars(190) % var% iarray0)
end
subroutine Sub_Loop_checkdims(ncid,ncname,lstr
&,recsize,checkdims,eta_v,eta_rho,xi_u,xi_rho)
IMPLICIT NONE
............
............
Is there any idea how to fix this? I am using PGI 12.3
Thanks!!
Yisen