#include #include #include using namespace std; int main() { cout << "max procs = " << omp_get_num_procs() << endl; cout << "max threads = " << omp_get_max_threads() << endl; #pragma omp parallel { cout << "bonjour " << omp_get_thread_num() << "/" << omp_get_num_threads() << endl; } return EXIT_SUCCESS; }