I should have explicit type for groupl, groufl, gfac, and gprop eventhough I have written --> include 'refnd.h' and pglob1.h'.
Since the program cannot work to process them after compiling and there are messages to put explicit type of them.
However, it can work after I put 'refng.h', is it right Professor?
I tried to run and I checked statement with marking the following codes
if(imat.eq.5) then
if(groufl) then
do i=1,ndf
d(13+i)=gfac(i)
enddo
endif
if(groupl) then
do i=1,ndf
d(16+i)=gprop(i)
enddo
endif
endif
But, after I continued debugging "if(imat.eq.5) then" to "if(groufl) then", it didn't go forward and stayed in that step.
What's wrong, Prof?
Thank you very much.