#include #include int main() { // omp_set_num_threads(6); #pragma omp parallel { int nthread = omp_get_num_threads(); int ithread = omp_get_thread_num(); printf("Hello World from %d of %d!\n", ithread, nthread); } return 0; }