Initialisation of local vars to zero

Hello,

To run an application developed in FORTRAN 77 I need the local variables to be initialized to zero.

I check the man of pgf77 but no option is available in order to do this at compilation step, as it is possible with g77.

Heeeeeeeeeeelp !!!

Thanks

Hi,

A similar question was answered in https://forums.developer.nvidia.com/t/questions-when-using-pgf90-on-amd64/129879/1

Under pgf77, you can put your variables into a common block and they will be initialized to zero use the save statement or use -Msave switch.

Regards,

Mark