- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some code that I'm trying to thread. The code usesthe Blitz library. After applying an omp parallel for I can run a single thread on the loop concerned but if I try to run more than one thread the exe crashes.
If I use Parallel Inspector I get a larger number of Data race errors reported from within Blitz. I have a vague memory of reading some time ago that Blitz isn't thread safe.
Maybe someone can help me wiyth the following queries:
a/ Does Parallel Inspectorgenerate false positives ie say there's an error even if there isn't?
b/ Does anyone have experience using Blitz in multi-threaded code?
Thanks
David
If I use Parallel Inspector I get a larger number of Data race errors reported from within Blitz. I have a vague memory of reading some time ago that Blitz isn't thread safe.
Maybe someone can help me wiyth the following queries:
a/ Does Parallel Inspectorgenerate false positives ie say there's an error even if there isn't?
b/ Does anyone have experience using Blitz in multi-threaded code?
Thanks
David
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the library that you are using is not thread safe then you may be able to use the locks using "#pragma omp critical". The locks may slow down the code execution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found this link when googling that may be helpful:
http://www.oonumerics.org/blitz/docs/blitz_8.html
You should post your question about Intel Parallel Inspector in the Intel Parallel Studio forum. The experts there should be able to assist.
http://www.oonumerics.org/blitz/docs/blitz_8.html
You should post your question about Intel Parallel Inspector in the Intel Parallel Studio forum. The experts there should be able to assist.

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