View Single Post
Old 06-15-2011, 02:47 PM   #2
nilshomer
Nils Homer
 
nilshomer's Avatar
 
Location: Boston, MA, USA

Join Date: Nov 2008
Posts: 1,285
Default

Report what the error code is. To do so, add the following to the code and re-compile:
Code:
diff --git a/bfast/RunMatch.c b/bfast/RunMatch.c
index d8e7de3..3cffe1a 100644
--- a/bfast/RunMatch.c
+++ b/bfast/RunMatch.c
@@ -853,6 +853,7 @@ int FindMatches(char **indexFileName,
                                        FindMatchesThread, /* start routine */
                                        &data[i]); /* data to routine */
                        if(0!=errCode) {
+                            fprintf(stderr, "errCode=%d\n", errCode);
                                PrintError(FnName, "pthread_create: errCode", "C
                        }
                }
nilshomer is offline   Reply With Quote