- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I have already used Intel visual Fortran 11 and utilized openMP to parallelize my code.
However,when I use SECTION type (i.e.,!$OMP SECTIONS) and the file size become bigger than a specific value, this sectioncould not bedetected by compiler.It means when the file size is small, compilershow this remark:"openMP DEFINED SECTION WAS PARALLILZED". But with growing file size (with the correct sequential format),programm neglect this SECTION PART.
Is it really a relationship between size and this problem?
Best regards, Mohammadreza
I have already used Intel visual Fortran 11 and utilized openMP to parallelize my code.
However,when I use SECTION type (i.e.,!$OMP SECTIONS) and the file size become bigger than a specific value, this sectioncould not bedetected by compiler.It means when the file size is small, compilershow this remark:"openMP DEFINED SECTION WAS PARALLILZED". But with growing file size (with the correct sequential format),programm neglect this SECTION PART.
Is it really a relationship between size and this problem?
Best regards, Mohammadreza
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What does the compiler say about it (e.g. with /Qopenmp-report2) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>SECTION type (i.e.,!$OMP SECTIONS)
You can use either:
!$OMP PARALLEL SECTIONS
!$OMP SECTION
... ! section 1
!$OMP SECTION
... ! section 2
!OMP END PARALLEL SECTIONS
(1st "!$OMP SECTION" is optional)
.or.
!$OMP PARALLEL
...
!$OMP SECTIONS
!$OMP SECTION
... ! section 1
!$OMP SECTION
... ! section 2
!OMP END SECTIONS
...
!OMP END PARALLEL
Check to see if your code is blending the two different formats resulting in an unintended nesting of parallel regions (sections).
If you suspect the file size is introducing a compiler error then think about making a subroutine out of the section (then call the subroutine from the section).
Jim Dempsey
You can use either:
!$OMP PARALLEL SECTIONS
!$OMP SECTION
... ! section 1
!$OMP SECTION
... ! section 2
!OMP END PARALLEL SECTIONS
(1st "!$OMP SECTION" is optional)
.or.
!$OMP PARALLEL
...
!$OMP SECTIONS
!$OMP SECTION
... ! section 1
!$OMP SECTION
... ! section 2
!OMP END SECTIONS
...
!OMP END PARALLEL
Check to see if your code is blending the two different formats resulting in an unintended nesting of parallel regions (sections).
If you suspect the file size is introducing a compiler error then think about making a subroutine out of the section (then call the subroutine from the section).
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jim can I ask you a question about eclipse and photran? I know intel does not support eclipse yet but I'm trying to use another compiler so I can't make a topic here, but I need help desperately. please let me know on my email if you can spare anytime for me at my email: hosseinali.ir@gmail.com
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page