cc_staff
229
edits
No edit summary |
|||
Line 2: | Line 2: | ||
==Working with processors that have non-uniform memory access (NUMA)== | ==Working with processors that have non-uniform memory access (NUMA)== | ||
$ numactl --hardware | |||
available: 2 nodes (0-1) | |||
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |||
node 0 size: 64030 MB | |||
node 0 free: 61453 MB | |||
node 1 cpus: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |||
node 1 size: 64508 MB | |||
node 1 free: 61016 MB | |||
node distances: | |||
node 0 1 | |||
0: 10 21 | |||
1: 21 10 | |||
#!/bin/bash | #!/bin/bash | ||
Line 13: | Line 28: | ||
#SBATCH --account=cc-debug | #SBATCH --account=cc-debug | ||
export OMP_NUM_THREADS=16 | export OMP_NUM_THREADS=16 | ||
numactl -- | numactl --cpunodebind=0 --membind=0 ./test.x & | ||
numactl -- | numactl --cpunodebind=1 --membind=1 ./test.x & | ||
wait | wait | ||
==FEniCS== | ==FEniCS== |