Using static partitioning with OpenMP.