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


Hello,

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
topology:

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
   do:

   $ 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]: http://www.open-mpi.org/community/lists/plpa-users/2007/04/0035.php
> [2]: http://www.open-mpi.org/software/plpa/
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>