Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_mkl_igemm_ia.sh : numa error: node argument 1 is out of range #100

Open
WilliamTambellini opened this issue May 25, 2018 · 2 comments
Open

Comments

@WilliamTambellini
Copy link

WilliamTambellini commented May 25, 2018

On ubuntu 16.04, when running
~/repos/DeepBench/code/intel/gemm/run_mkl_igemm_ia.sh
on a single cpu machine (Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz) :

IGEMM benchmark

GEMM_S8U8S32 -

libnuma: node argument 1 is out of range

<1> is invalid

usage: numactl [--all | -a] [--interleave= | -i ] [--preferred= | -p ]
[--physcpubind= | -C ] [--cpunodebind= | -N ]
[--membind= | -m ] [--localalloc | -l] command args ...
numactl [--show | -s]
numactl [--hardware | -H]
numactl [--length | -l ] [--offset | -o ] [--shmmode | -M ]
[--strict | -t]
[--shmid | -I ] --shm | -S
[--shmid | -I ] --file | -f
[--huge | -u] [--touch | -T]
memory policy | --dump | -d | --dump-nodes | -D

< nodes > is a comma delimited list of node numbers or A-B ranges or all.
Instead of a number a node can also be:
netdev:DEV the node connected to network device DEV
file:PATH the node the block device of path is connected to
ip:HOST the node of the network device host routes through
block:PATH the node of block device path
pci:[seg:]bus:dev[:func] The node of a PCI device

Modifying the script to target node 0 seems to allow to run :
numactl -m 0 ./ibench_s8u8s32

Why is node 1 hard coded in the script ?

@WilliamTambellini
Copy link
Author

Hi @sharannarang would you know why ?

@mshiryaev
Copy link
Contributor

run_mkl_igemm_ia.sh - this scripts targets Xeon Phi machine with MCDRAM in flat mode, in that case MCDRAM is recognized as separate numa node and has index "1".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants