Blog

Blog :: 2010/10/...

OpenMP Hello World
Posted 2010/10/22
OpenMP hello world. #include <stdio.h> #include <omp.h> main () { int nthreads, tid; /* Fork a team of threads with each thread having a private tid variable */ #pragma omp parallel private(tid) { /* Obtain and print thread id */ tid = omp_get_thread_num(); printf("Hello World from thread = %d\n", tid); [...]
Work from home setup
Posted 2010/10/17
My boss lets me work from home a lot of the week but in September we got a labrador puppy called Louie. Working from home when the wife is not there to keep him occupied involves lots of running after him to stop him doing the puppy stuff (like peeing [...]
SCAPE website
Posted 2010/10/12
I spent some time today cleaning up parts of the at scape.cs.vt.edu. The students have done a good job of getting plenty of content on there but it all needs a bit of love.