Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] hwloc-1.3.1 and 1.4 failures on MIPS64/qemu
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-02-03 13:01:10


Paul H. Hargrove, le Wed 01 Feb 2012 20:18:59 +0100, a écrit :
> So if qemu's emulation were at fault, then one would expect more wide-spread
> problems and a generally unstable system.
> While -mabi=64 is not the default in user-space, it IS the way the linux
> kernel is built and thus should be well tested.

Except that it does not use floating point operations. I've commited a
"fix". It makes the failures change. I got fun things with the mips64
libc:

fprintf(stderr,"%f\n", min_distance);
fprintf(stderr,"%f\n", accuracy);
fprintf(stderr,"%f %f\n", min_distance, min_distance);
fprintf(stderr,"%f %f\n", min_distance, accuracy);

will print

2.0
0
2.0 2.0
0.0 0.0

! It seems lenny on qemu-mips64 is not really stable with floats yet :)

Samuel