- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to https://software.intel.com/en-us/node/522775 OMP_THREAD_LIMIT is not safe to use. Is this true or what is behind this cryptic sentence?
OMP_THREAD_LIMIT |
... If this limit is reached and another native operating system thread encounters OpenMP* API calls or constructs, the program can abort with an error message... |
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the thread limit for the (your) process (program). The statement can be reworded as: If your process makes a system call, which in turn creates a thread on your behalf (and which thread becomes part of your process/program), and then if subsequently that (system) thread of yours makes an OpenMP API call that constructs additional OpenMP thread(s)... and... if the thread count of your application (plus your application's system threads OpenMP threads) will attempt to create more OpenMP threads than specified by OMP_THREAD_LIMIT, then this can cause the program to abort.
This should not affect anything else running on your system other than your application (assuming the system thread was written to handle such condition).
Jim Dempsey
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page