In the previous post we have see how to get the processor information on a X86 system running Linux.
http://shettymayur.blogspot.com/2014/03/processor-information-using-dmidecode.html
In this post we will use Portable hardware locality (hwloc) to create is diagram of the processors
on the system that we can use in a whitepaper or a blog entry.
I downloaded hwloc version 1.7.2 from https://www.open-mpi.org/software/hwloc/v1.7/
I user the https://www.open-mpi.org/software/hwloc/v1.7/downloads/hwloc-1.7.2.tar.gz tarball.
Just some information on the OS and Red Hat version that I'm on.
I created a directory hwloc and then downloaded the tarball into it. Next I untared hwloc-1.7.2.tar
Next, I can the 'configure' followed by make and make install.
Next I ran 'lstopo' to create the .png and .ps files as follows
This created two files isvx3.png and isvx3.ps in that directory
http://shettymayur.blogspot.com/2014/03/processor-information-using-dmidecode.html
In this post we will use Portable hardware locality (hwloc) to create is diagram of the processors
on the system that we can use in a whitepaper or a blog entry.
I downloaded hwloc version 1.7.2 from https://www.open-mpi.org/software/hwloc/v1.7/
I user the https://www.open-mpi.org/software/hwloc/v1.7/downloads/hwloc-1.7.2.tar.gz tarball.
Just some information on the OS and Red Hat version that I'm on.
[root@isvx3 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.9 (Tikanga) [root@isvx3 ~]# cat /proc/version Linux version 2.6.18-348.16.1.el5 (mockbuild@x86-012.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Sat Jul 27 01:05:23 EDT 2013 |
I created a directory hwloc and then downloaded the tarball into it. Next I untared hwloc-1.7.2.tar
[root@isvx3 hwloc]# pwd /root/hwloc [root@isvx3 hwloc]# ls hwloc-1.7.2 hwloc-1.7.2.tar |
Next, I can the 'configure' followed by make and make install.
[root@isvx3 hwloc-1.7.2]# ./configure [root@isvx3 hwloc-1.7.2]# make [root@isvx3 hwloc-1.7.2]# make install |
Next I ran 'lstopo' to create the .png and .ps files as follows
[root@isvx3 hwloc-1.7.2]# lstopo isvx3.png [root@isvx3 hwloc-1.7.2]# lstopo isvc3.ps |
This created two files isvx3.png and isvx3.ps in that directory
No comments:
Post a Comment