examples and test code for OpenMP