You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hpx command line option --hpx:cores=XX does not reserve the right number of cores.
For instance,
srun -p marv_noht -N 1 -n 2 ./bin/hello_world --hpx:localities=2 --hpx:threads=4 --hpx:cores=8 --hpx:print-bind --hpx:bind=compact
results in the following output:
*******************************************************************************
locality: 1
0: PU L#4(P#8), Core L#4(P#4), Socket L#0(P#0), Node L#0(P#0)
1: PU L#5(P#10), Core L#5(P#5), Socket L#0(P#0), Node L#0(P#0)
2: PU L#6(P#12), Core L#6(P#6), Socket L#0(P#0), Node L#0(P#0)
3: PU L#7(P#14), Core L#7(P#7), Socket L#0(P#0), Node L#0(P#0)
*******************************************************************************
locality: 0
0: PU L#0(P#0), Core L#0(P#0), Socket L#0(P#0), Node L#0(P#0)
1: PU L#1(P#2), Core L#1(P#1), Socket L#0(P#0), Node L#0(P#0)
2: PU L#2(P#4), Core L#2(P#2), Socket L#0(P#0), Node L#0(P#0)
3: PU L#3(P#6), Core L#3(P#3), Socket L#0(P#0), Node L#0(P#0)
hello world from OS-thread 0 on locality 0
hello world from OS-thread 1 on locality 0
hello world from OS-thread 3 on locality 0
hello world from OS-thread 2 on locality 0
hello world from OS-thread 3 on locality 1
hello world from OS-thread 2 on locality 1
hello world from OS-thread 1 on locality 1
hello world from OS-thread 0 on locality 1
I expect the localities to be split between the two numa domains.
output of lstopo for marv_noht:
branch fixing_1705 fixes the issue. here is the output :
srun -p marv_noht -N 1 -n 2 ./bin/hello_world --hpx:localities=2 --hpx:threads=4 \
--hpx:cores=8 --hpx:print-bind --hpx:bind=compact
*******************************************************************************
locality: 0
0: PU L#0(P#0), Core L#0(P#0), Socket L#0(P#0), Node L#0(P#0)
1: PU L#1(P#2), Core L#1(P#1), Socket L#0(P#0), Node L#0(P#0)
2: PU L#2(P#4), Core L#2(P#2), Socket L#0(P#0), Node L#0(P#0)
3: PU L#3(P#6), Core L#3(P#3), Socket L#0(P#0), Node L#0(P#0)
hello world from OS-thread 2 on locality 0
hello world from OS-thread 1 on locality 0
hello world from OS-thread 0 on locality 1
hello world from OS-thread 2 on locality 1
hello world from OS-thread 3 on locality 0
hello world from OS-thread 3 on locality 1
hello world from OS-thread 1 on locality 1
hello world from OS-thread 0 on locality 0
*******************************************************************************
locality: 1
0: PU L#8(P#1), Core L#8(P#0), Socket L#1(P#1), Node L#1(P#1)
1: PU L#9(P#3), Core L#9(P#1), Socket L#1(P#1), Node L#1(P#1)
2: PU L#10(P#5), Core L#10(P#2), Socket L#1(P#1), Node L#1(P#1)
3: PU L#11(P#7), Core L#11(P#3), Socket L#1(P#1), Node L#1(P#1)
The hpx command line option --hpx:cores=XX does not reserve the right number of cores.
For instance,
srun -p marv_noht -N 1 -n 2 ./bin/hello_world --hpx:localities=2 --hpx:threads=4 --hpx:cores=8 --hpx:print-bind --hpx:bind=compact
results in the following output:
I expect the localities to be split between the two numa domains.
output of lstopo for marv_noht:
The text was updated successfully, but these errors were encountered: