Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int procs = omp_get_num_procs();
- #pragma omp parallel for num_threads(procs)
- shared (c, u, v, w, k, j, i, nx, ny)
- reduction(+: a, b, c, d, e, f, g, h, i)
- export OMP_NUM_THREADS=5
- export KMP_AFFINITY=verbose,scatter
- OMP: Info #149: KMP_AFFINITY: Affinity capable, using global cpuid instr info
- OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: {0,1,2,3,4,5,6,7}
- OMP: Info #156: KMP_AFFINITY: 8 available OS procs
- OMP: Info #157: KMP_AFFINITY: Uniform topology
- OMP: Info #159: KMP_AFFINITY: 2 packages x 4 cores/pkg x 1 threads/core (8 total cores)
- OMP: Info #160: KMP_AFFINITY: OS proc to physical thread map ([] => level not in map):
- OMP: Info #168: KMP_AFFINITY: OS proc 0 maps to package 0 core 0 [thread 0]
- OMP: Info #168: KMP_AFFINITY: OS proc 4 maps to package 0 core 1 [thread 0]
- OMP: Info #168: KMP_AFFINITY: OS proc 2 maps to package 0 core 2 [thread 0]
- OMP: Info #168: KMP_AFFINITY: OS proc 6 maps to package 0 core 3 [thread 0]
- OMP: Info #168: KMP_AFFINITY: OS proc 1 maps to package 1 core 0 [thread 0]
- OMP: Info #168: KMP_AFFINITY: OS proc 5 maps to package 1 core 1 [thread 0]
- OMP: Info #168: KMP_AFFINITY: OS proc 3 maps to package 1 core 2 [thread 0]
- OMP: Info #168: KMP_AFFINITY: OS proc 7 maps to package 1 core 3 [thread 0]
- OMP: Info #147: KMP_AFFINITY: Internal thread 0 bound to OS proc set {0}
- OMP: Info #147: KMP_AFFINITY: Internal thread 1 bound to OS proc set {1}
- OMP: Info #147: KMP_AFFINITY: Internal thread 2 bound to OS proc set {4}
- OMP: Info #147: KMP_AFFINITY: Internal thread 3 bound to OS proc set {5}
- OMP: Info #147: KMP_AFFINITY: Internal thread 4 bound to OS proc set {2}
- OMP: Info #147: KMP_AFFINITY: Internal thread 5 bound to OS proc set {3}
- OMP: Info #147: KMP_AFFINITY: Internal thread 6 bound to OS proc set {6}
- OMP: Info #147: KMP_AFFINITY: Internal thread 7 bound to OS proc set {7}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement