#include <iostream>#include <omp.h>intmain(void) {#ifdef _OPENMPif(omp_get_max_threads() ==2) {return0;}else{std::cout <<"Max threads is "<<omp_get_max_threads() <<" not 2."<<std::endl;return1;}#elseprintf("_OPENMP is not defined; is OpenMP compilation working?\n");return1;#endif}