Advertisement
Guest User

Untitled

a guest
Apr 25th, 2014
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. int procs = omp_get_num_procs();
  2. #pragma omp parallel for num_threads(procs)
  3. shared (c, u, v, w, k, j, i, nx, ny)
  4. reduction(+: a, b, c, d, e, f, g, h, i)
  5.  
  6. export OMP_NUM_THREADS=5
  7. export KMP_AFFINITY=verbose,scatter
  8.  
  9. OMP: Info #149: KMP_AFFINITY: Affinity capable, using global cpuid instr info
  10. OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: {0,1,2,3,4,5,6,7}
  11. OMP: Info #156: KMP_AFFINITY: 8 available OS procs
  12. OMP: Info #157: KMP_AFFINITY: Uniform topology
  13. OMP: Info #159: KMP_AFFINITY: 2 packages x 4 cores/pkg x 1 threads/core (8 total cores)
  14. OMP: Info #160: KMP_AFFINITY: OS proc to physical thread map ([] => level not in map):
  15. OMP: Info #168: KMP_AFFINITY: OS proc 0 maps to package 0 core 0 [thread 0]
  16. OMP: Info #168: KMP_AFFINITY: OS proc 4 maps to package 0 core 1 [thread 0]
  17. OMP: Info #168: KMP_AFFINITY: OS proc 2 maps to package 0 core 2 [thread 0]
  18. OMP: Info #168: KMP_AFFINITY: OS proc 6 maps to package 0 core 3 [thread 0]
  19. OMP: Info #168: KMP_AFFINITY: OS proc 1 maps to package 1 core 0 [thread 0]
  20. OMP: Info #168: KMP_AFFINITY: OS proc 5 maps to package 1 core 1 [thread 0]
  21. OMP: Info #168: KMP_AFFINITY: OS proc 3 maps to package 1 core 2 [thread 0]
  22. OMP: Info #168: KMP_AFFINITY: OS proc 7 maps to package 1 core 3 [thread 0]
  23. OMP: Info #147: KMP_AFFINITY: Internal thread 0 bound to OS proc set {0}
  24. OMP: Info #147: KMP_AFFINITY: Internal thread 1 bound to OS proc set {1}
  25. OMP: Info #147: KMP_AFFINITY: Internal thread 2 bound to OS proc set {4}
  26. OMP: Info #147: KMP_AFFINITY: Internal thread 3 bound to OS proc set {5}
  27. OMP: Info #147: KMP_AFFINITY: Internal thread 4 bound to OS proc set {2}
  28. OMP: Info #147: KMP_AFFINITY: Internal thread 5 bound to OS proc set {3}
  29. OMP: Info #147: KMP_AFFINITY: Internal thread 6 bound to OS proc set {6}
  30. OMP: Info #147: KMP_AFFINITY: Internal thread 7 bound to OS proc set {7}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement