-----BEGIN PGP SIGNED MESSAGE-----
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_at_avoca src]$ ./uname -s
[samuel_at_avoca src]$ srun ./uname -s
That's using coreutils 8.2 built for BG/Q (GCC stack, CC=mpicc
You could get the BG/Q stack version from the release part:
[samuel_at_avoca src]$ srun ./uname -r
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).
Christopher Samuel Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: samuel_at_[hidden] Phone: +61 (0)3 903 55545
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----