Error when compile gentpro.f in SMOKEv4.7

It is a gfortran issue. I am planning to update the SMOKE to avoid this issue as well as GETPID gfortran issue. Here is the fix for the error you are having.