Fix issue with a default of only 32 possible threads to be traced. Increased thread limit to 128 via patch.

This commit is contained in:
Christoph Niethammer 2015-03-10 13:03:37 +00:00
parent e01cf15ec4
commit f0d75eeca0
2 changed files with 26 additions and 0 deletions

View file

@ -41,6 +41,10 @@ fi
BUILDDIR="${SRCDIR}"
src_prepare () {
patch -p0 < $SCLASS_DIR/$SCLASSFILE-0000.patch
}
src_install() {
mkdir -p $PREFIX
make install || sit_fail "Installation failed"

View file

@ -0,0 +1,22 @@
--- src/tracer/wrappers/OMP/ibm-xlsmp-1.6.c 2015-03-10 13:25:54.421395005 +0100
+++ src/tracer/wrappers/OMP/ibm-xlsmp-1.6.c 2015-03-10 13:26:07.747914752 +0100
@@ -67,7 +67,7 @@
*/
/* FIXME: Should we discover this dinamically? */
-#define MAX_THD 32
+#define MAX_THD 128
typedef unsigned long long ull;
typedef long long ll;
--- src/tracer/wrappers/OMP/gnu-libgomp-4.2.c 2015-03-10 13:19:14.373690864 +0100
+++ src/tracer/wrappers/OMP/gnu-libgomp-4.2.c 2015-03-10 13:25:44.026541312 +0100
@@ -78,7 +78,7 @@
*/
/* FIXME: Should we discover this dinamically? */
-#define MAX_THD 32
+#define MAX_THD 128
/* Pointer to the user function called by a PARALLEL DO REGION */