linux cpu拓扑查看工具 hwloc 简介
https://blog.csdn.net/whatday/article/details/106170613
https://blog.csdn.net/qq_30123815/article/details/109582124
#下载hwloc源码包
$ wget https://download.open-mpi.org/release/hwloc/v2.2/hwloc-2.2.0.tar.gz
#解压源码包
$ tar -zxvf hwloc-2.2.0.tar.gz
#进入源码文件夹
$ cd hwloc-2.2.0
#执行configure生成makefile
$ ./configure #编译hwloc
$ make
#安装
$ make install