Multiple threads read the same file independently?

Multiple threads read the same file independently?

Hi All,

I'm currently facing a problem that requires me to make multiple threads read the same file independently. I found that I can apply !$omp single, read(2, fmt='()') a, !$omp end single copyprivate(a). I want to know if there are other betters ways of getting it done.



Thread Topic: 

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I'm afraid you are asking your question in the wrong place. This forum is for discussions of the implementation of the open-source intel runtime library, whereas your question is about the use of OpenMP in general; it's not even Intel specific. 

I suggest you ask it on StackOverflow and tag it as an OpenMP question. There is an active group of OpenMP respondents there.

Leave a Comment

Please sign in to add a comment. Not a member? Join today