Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Bert Wesarg (wesarg_at_[hidden])
Date: 2007-04-24 10:00:20


On Mon, 23 Apr 2007, Bert Wesarg wrote:

> Hello all,
> Instructions:
> # assume you have mounted the sysfs on /sys
> $ cd /sys
> $ tar cjf cpu-topology.tar.bz2
> devices/system/{cpu/cpu*/topology/*,node/node*/cpu*}
Because of different kernel version, or old versions, not all files are
found, so here is an update to the instructions for getting the cpu

NOTE: the tar will spillout a bunch off messages like:

tar: devices/system/cpu/cpu0/topology/core_id: File shrank by 4094 bytes;
padding with zeros

this shouldn't be problem

0) change to your sysfs mount directory (mostly /sys)

1) if you don't have devices/system/cpu/cpu0/topology, sorry you can stop,
   your kernel is to old

2) if you don't have a devices/system/node directory, goto point 3). else

   $ tar -r -f /tmp/cpu-topology.tar devices/system/node/node*/cpu*

3) do:

   $ tar -r -f /tmp/cpu-topology.tar devices/system/cpu/cpu*/topology/*

4) do:

   $ bzip /tmp/cpu-topology.tar

Thank you

Bert Wesarg

> Please give a short description of the machine and send the
> cpu-topology.tar.bz2 to the list.
> [1]:
> [2]:
> _______________________________________________
> users mailing list
> users_at_[hidden]