- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear forum, The toy code below returns "sum = 256" on my 5110P. Any thoughts on why oversubscription did not work? Thanks!
PS:
Driver Version : 3.5.1-1
MPSS Version : 3.5.1
icpc version 15.0.6
#include <stdio.h> #include <stdlib.h> #include <omp.h> #include <iostream> int main( int argc, char* argv[] ) { omp_set_num_threads(480); int sum = 0; #pragma omp parallel { #pragma omp atomic sum += 1; } std::cout << "sum = " << sum << std::endl; return 0; }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The oversubscription does not work because of bug in the OpenMP runtime library. This bug is present in the only released library version 20150609 (you can check the version setting environment variable KMP_VERSION to 1 and looking at the error output). Earlier releases as well as later releases do not have this bug.
Regards,
Andrey
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The oversubscription does not work because of bug in the OpenMP runtime library. This bug is present in the only released library version 20150609 (you can check the version setting environment variable KMP_VERSION to 1 and looking at the error output). Earlier releases as well as later releases do not have this bug.
Regards,
Andrey

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page