Monthly Archives: April 2012

Oxford BSPlib

As part of a school research project, I’ve been looking into programming languages specializing in parallel processing models. For one model in particular, the Bulk Synchronous Parallel model (BSP), I want to try to implement an actual program on a … Continue reading

Posted in Uncategorized | Leave a comment

OpenMP Uses Only One Thread Inside Member Functions of Objects

The Problem My OpenMP code works perfectly when run inside the main function: int tid; #pragma omp parallel private(tid) { int nthreads = omp_get_num_threads(); tid = omp_get_thread_num(); printf(“hello from thread: %i of %i”, tid, nthreads); } It still works when … Continue reading

Posted in Uncategorized | Leave a comment