Open MPI logo

Hardware Locality Development 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.

Subject: Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2009-10-29 18:40:07

Pavan Balaji wrote:
> This is the latest version of the PGI compiler. If this is indeed
> broken, then it'll be ideal if the configure can detect it and basically
> disable everything. That is, hwloc_topology_init can return a failure,
> so packages relying on hwloc can do something else.

We don't have pgcc, so we can't really really/test such a detection
code. Maybe AC_COMPILE_IFELSE or AC_LINK_IFELSE with a code like below
would be enough:
#define _GNU_SOURCE 1
#include <sched.h>
void foo(cpu_set_t *set) {
  CPU_SET(0, set);
If such a basic code doesn't compile fine with pgcc, it's worth a
bug-report to pgi...

> FWIW, I don't have this problem with plpa.

PLPA seems to be redefining its own PLPA_CPU_* so it's much easier to
avoid wrong redefinitions :)