main.f90 189 B

123456789
  1. program main
  2. if (omp_get_max_threads() .eq. 2) then
  3. stop 0
  4. else
  5. print *, 'Max threads is', omp_get_max_threads(), 'not 2.'
  6. stop 1
  7. endif
  8. end program main