- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort Version 12.0.3.174 Build 20110309
I'm using the associate construct to make code look somewhat more readable. I have something like:
associate ( a=>s%a, ... , j=>s%j, ..., z=>s%z )
...
call subroutine(j,...)
...
end associate
If code is compiled with openmp then in some regions of my code I get segmentation faults when calling the subroutine with an associated variable. However, if I were to replace the call by subroutine(s%j,...), then the code works as expected.
If code is compiled without openmp then it works either with call subroutine(j,...) or call subroutine(s%j,...).
My code is quite long and I do not have a simple test case for this. Is this a known issue?
I'm using the associate construct to make code look somewhat more readable. I have something like:
associate ( a=>s%a, ... , j=>s%j, ..., z=>s%z )
...
call subroutine(j,...)
...
end associate
If code is compiled with openmp then in some regions of my code I get segmentation faults when calling the subroutine with an associated variable. However, if I were to replace the call by subroutine(s%j,...), then the code works as expected.
If code is compiled without openmp then it works either with call subroutine(j,...) or call subroutine(s%j,...).
My code is quite long and I do not have a simple test case for this. Is this a known issue?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not known to me, at least. Can you provide a small test case?
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