FYI, in MPICH2 we use a custom macro to check for compiler warnings and treat them as errors to get around such problems.

http://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/trunk/confdb/aclocal_cc.m4?rev=8279#L11

Ugly, but works.

 -- Pavan

On 09/06/2011 09:13 AM, Jeff Squyres wrote:
On Sep 6, 2011, at 8:49 AM, Jeff Squyres wrote:

Ah, it looks like we got around this in OMPI by explicitly checking to see if 
the compiler vendor is Sun.  Terrible!  Let me see about back-porting these 
changes from OMPI...

I did some internal cleanup on that configury test and committed it to the 
trunk.  Could you try it and see if it works for you?  (I don't have a Sun 
compiler to test with)

     https://svn.open-mpi.org/trac/hwloc/changeset/3773

If you don't want to build from SVN (which requires fairly modern autotools 
versions), you can just wait for the nightly tarball tonight.  It's generated 
around 9pm US Eastern time.

     http://www.open-mpi.org/software/hwloc/nightly/trunk/


--
Pavan Balaji
http://www.mcs.anl.gov/~balaji

Reply via email to