-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/02/13 23:22, Brice Goglin wrote:

> Le 08/02/2013 12:52, Samuel Thibault a ←crit :
>> Would it be possible to check some file in /proc or /sys to
>> identify the machine, to make sure we are not lying?
> There's no such filesystems on BlueGene compute nodes. The CNK
> kernel redirects I/O call to the I/O node (which runs Linux).

Actually the latest BG/Q stack V1R2M0 does have a /proc directory.

However, I suspect you're probably better off calling uname() on it
and using the sysname[] component.

[samuel@avoca src]$ ./uname -s
Linux
[samuel@avoca src]$ srun ./uname -s
CNK

That's using coreutils 8.2 built for BG/Q (GCC stack, CC=mpicc
CXX=mpicc LD=mpicc).

You could get the BG/Q stack version from the release[] part:

[samuel@avoca src]$ srun ./uname -r
2.6.32-279.14.1.bgq.el6_V1R2M0_3.ppc64

So that's V1R2M0 with the CNK patched to eFix 3 (we've got 4-6 also
installed but they don't affect the CNK from the look of it).

cheers!
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEZjWkACgkQO2KABBYQAh/7AgCeMhEAmRp5XZXTR3p6IkaIwegD
TVcAn39kebzujh2J4cmUnXWBdP0NpzBG
=znDj
-----END PGP SIGNATURE-----

Reply via email to