PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

About OpenMP when using PVF

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



Joined: 06 Dec 2012
Posts: 9

PostPosted: Tue Jun 04, 2013 2:20 am    Post subject: About OpenMP when using PVF Reply with quote

1. The sentinel (!$omp) must occupy columns 1-5 in fortran fixed-form source ?

2. How to get to the second line when the clause after !$omp is too long? Is there any special format or ampersand ?
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Jun 04, 2013 9:35 am    Post subject: Reply with quote

Quote:
1. The sentinel (!$omp) must occupy columns 1-5 in fortran fixed-form source ?
Yes and must be followed by a space or zero in column 6.

Quote:
2. How to get to the second line when the clause after !$omp is too long? Is there any special format or ampersand ?

Add a character, other than zero or space, in column 6 to indicate continuation. I typically use an ampersand.

Code:
!$omp     ....
!$omp&   ...


Hope this helps,
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