| View previous topic :: View next topic |
| Author |
Message |
Manuel
Joined: 30 Jul 2004 Posts: 4
|
Posted: Thu Aug 12, 2004 5:27 am Post subject: 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 |
|
| Back to top |
|
 |
mleair
Joined: 19 Jul 2004 Posts: 67 Location: Portland Group
|
Posted: Thu Aug 12, 2004 8:38 am Post subject: initialization to zero |
|
|
Hi,
A similar question was answered in http://www.pgroup.com/userforum/viewtopic.php?t=36
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 |
|
| Back to top |
|
 |
|