PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Accelerator Compilers - f77 support

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
amitamritkar



Joined: 02 Oct 2009
Posts: 13

PostPosted: Mon Jun 07, 2010 2:24 pm    Post subject: Accelerator Compilers - f77 support Reply with quote

Hi,

Based on my current experiments, I found that the !$acc region doesn't work for f77 files.
Is there a compiler flag or any other way in which I can use the accelerator with out porting all the existing f77 files to f90.

Thanks,
Amit
Back to top
View user's profile
TheMatt



Joined: 06 Jul 2009
Posts: 317
Location: Greenbelt, MD

PostPosted: Tue Jun 08, 2010 6:56 am    Post subject: Reply with quote

Amit,

Actually, !$acc (along with c$acc and *$acc) should work with F77 code. But, as with all F77 comments/directives those characters must occupy columns 1-5.

Do you have them as such in your code?
Back to top
View user's profile
amitamritkar



Joined: 02 Oct 2009
Posts: 13

PostPosted: Tue Jun 08, 2010 11:03 am    Post subject: Reply with quote

TheMatt wrote:
Amit,

Actually, !$acc (along with c$acc and *$acc) should work with F77 code. But, as with all F77 comments/directives those characters must occupy columns 1-5.

Do you have them as such in your code?


Thanks, I had a small error in the f77 code.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming 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