PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Initialisation of local vars to zero

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Manuel



Joined: 30 Jul 2004
Posts: 4

PostPosted: Thu Aug 12, 2004 5:27 am    Post subject: Initialisation of local vars to zero Reply with quote

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
View user's profile
mleair



Joined: 19 Jul 2004
Posts: 67
Location: Portland Group

PostPosted: Thu Aug 12, 2004 8:38 am    Post subject: initialization to zero Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group