PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Debugging with PGDBG a Fortran 95 code

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
abelme



Joined: 09 Sep 2009
Posts: 3

PostPosted: Wed Sep 09, 2009 10:29 am    Post subject: Debugging with PGDBG a Fortran 95 code Reply with quote

Hello everybody,


I'm a very "fresh" user of PGDBG , I'm only at the stage of reading the PGDBG Tools Guide to understand how it's working and I just read that for Fortran codes it doesn't accept the operators .eq. , .ne. , ... and that we have to use instead the C basic operators < , = , and so on.

Does anybody know if this is true? Cause I have a huge paralell MPI code and I wouldn't like to spend time for nothing changing the operators if this is not true.

Thanks in advance for your answers.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Wed Sep 09, 2009 10:52 am    Post subject: Reply with quote

Hi abelme,

I think you're confusing the PGDBG syntax for conditional events with that of your program's syntax. PGDBG can read and debug Fortran syntax (i.e .eq., .ne., etc.) and does not require you to change your source. Only for setting conditional events within PGDBG, do you need to use C-like operators.

Hopefully this clarifies things, but if not, let me know what text in the PGI Tool's Guide is causing the confusion.

- Mat
Back to top
View user's profile
abelme



Joined: 09 Sep 2009
Posts: 3

PostPosted: Thu Sep 10, 2009 6:22 am    Post subject: Reply with quote

Thanks a lot! And sorry for my "inapropiate' question , and for my poor knowledge in PGDBG
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling 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