PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

does PVF support OpenACC?

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



Joined: 16 Mar 2012
Posts: 75

PostPosted: Thu Mar 29, 2012 6:48 am    Post subject: does PVF support OpenACC? Reply with quote

Hi,sir,
today, I tried to use PVF to run a fortran code. Before I use OpenACC, the code run succesfully, but after I added OpenACC directives, the code failed as the attached picture:



Didn't PVF support OpenACC?

Please kindly advise me

Best regards

SIsiy Gu
[/img]
Back to top
View user's profile
Teslalady



Joined: 16 Mar 2012
Posts: 75

PostPosted: Thu Mar 29, 2012 6:52 am    Post subject: Reply with quote

I noted the picture is too small and I don't know how to upload the picture here. Would you please check this link? I upload the picture at the commend area. http://developer.nvidia.com/content/openacc-example-part-1#comment-479390376

because in fact I want to ask this question to Mr.Mark Harris ,who suggested me to ask you .

Thanks again

Sisiy Gu
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Mar 29, 2012 8:09 am    Post subject: Reply with quote

Hi Sisiy,

Not yet. The 12.3 OpenACC beta support is currently only available on Linux.

- Mat
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Mar 29, 2012 9:20 am    Post subject: Reply with quote

Hi Sisiy,

I posted the following comment on NVIDIA's site:

Quote:
While the OpenACC portion of the code wont compile, the original Fortran source should. This is one of the advantages of using directives, it makes your code more portable and can still be compiled by compilers that do not support OpenACC.

I suspect that the source is not compiling and the link error is just a side effect. Are there other errors besides the link error?

I just downloaded the source and it compiled and linked for me within PVF. However, I did have to enable preprocessing (Configuration Properties->Fortran->Preprocessing) due to the preprocessing directives.


- Mat
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