| View previous topic :: View next topic |
| Author |
Message |
HuWei39533
Joined: 06 Dec 2012 Posts: 7
|
Posted: Tue Jun 04, 2013 2:20 am Post subject: About OpenMP when using PVF |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Tue Jun 04, 2013 9:35 am Post subject: |
|
|
| 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 |
|
 |
|