[hwloc-users] hwloc-2.0rc1 build warnings

2018-01-24 Thread Balaji, Pavan
Folks, I'm seeing these warnings on the mac os when building hwloc-2.0rc1 with clang: 8< CC lstopo-lstopo.o lstopo.c: In function 'usage': lstopo.c:425:7: warning: "CAIRO_HAS_XLIB_SURFACE" is not defined, evaluates to 0 [-Wundef] #elif CAIRO_HAS_XLIB_SURFACE && (defined

Re: [hwloc-users] hwloc-2.0rc1 build warnings

2018-01-24 Thread Balaji, Pavan
PM, Brice Goglin <brice.gog...@inria.fr> wrote: > > Thanks, I am fixing this for rc2 tomorrow. > > Brice > > > > Le 24/01/2018 à 22:59, Balaji, Pavan a écrit : >> Folks, >> >> I'm seeing these warnings on the mac os when building hwloc-2.0rc1 w

Re: [hwloc-users] hwloc-2.0rc1 failure on Solaris

2018-01-25 Thread Balaji, Pavan
ean >> 'strncmp'? [-Werror=implicit-function-declaration] >> return strncasecmp(s1, s2, n); >> ^~~ >> strncmp >> cc1: some warnings being treated as errors >> >> >>> Le 25/01/2018 à 10:45, Balaji, Pavan a écrit

[hwloc-users] hwloc-2.0rc1 failure on Solaris

2018-01-25 Thread Balaji, Pavan
Hello, hwloc-2.0rc1 build seems to fail on Solaris, with the following CFLAGS: CFLAGS="-Werror-implicit-function-declaration -std=c99" I'm using gcc-4.8.2 Thanks, -- Pavan ___ hwloc-users mailing list hwloc-users@lists.open-mpi.org

[hwloc-users] Tags for pre-releases

2018-01-23 Thread Balaji, Pavan
Folks, [resending to this mailing list; my email to the devel list failed] There don't seem to be any tags associated with hwloc prereleases (such as hwloc-2.0rc1). As you know, we embed hwloc into mpich, and we tend to use the git version (through git submodules) rather than release

Re: [hwloc-users] Netloc integration with hwloc

2018-04-04 Thread Balaji, Pavan
API In > the wild. Unfortunately, we lost several years because of the lack of > users' feedback. I don't want to invest time and rush for a new API if > MPICH never actually uses it like other people did in the past. > > Brice > > > > > Le 04/04/2018 à 01:36, B

Re: [hwloc-users] Netloc integration with hwloc

2018-04-03 Thread Balaji, Pavan
Brice, We want to use both hwloc and netloc in mpich. What are our options here? Move back to hwloc-1.x? That’d be a bummer because we already invested a lot of effort to migrate to hwloc-2.x. — Pavan Sent from my iPhone > On Apr 3, 2018, at 6:19 PM, Brice Goglin

[hwloc-users] Build warnings with hwloc-2.0.3

2019-02-24 Thread Balaji, Pavan via hwloc-users
Folks, I'm getting the below build warnings with hwloc-2.0.3, gcc-7.3 on Ubuntu (with -Wall -O2): 8< ../../../../../../../../../mpich/src/pm/hydra/tools/topo/hwloc/hwloc/hwloc/distances.c: In function 'hwloc__groups_by_distances':

Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-02-25 Thread Balaji, Pavan via hwloc-users
Hi Brice, > On Feb 25, 2019, at 2:27 AM, Brice Goglin wrote: > Are you sure you're not passing -Wstack-usage? My Ubuntu 18.04 with > latest gcc-7 (7.3.0-27ubuntu1~18.04) doesn't show any of those warnings. Yes, you are right, -Wstack-usage was explicitly added too. Sorry, I missed the fact

Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-03-18 Thread Balaji, Pavan via hwloc-users
Brice, all, Any update on this? Are you guys planning on fixing these? -- Pavan > On Feb 25, 2019, at 7:33 AM, Balaji, Pavan via hwloc-users > wrote: > > Hi Brice, > >> On Feb 25, 2019, at 2:27 AM, Brice Goglin wrote: >> Are you sure you're not passing -Ws

Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-03-18 Thread Balaji, Pavan via hwloc-users
> On Mar 18, 2019, at 9:14 AM, Brice Goglin wrote: > I am planning to fix this in 2.1 (to be released before summer). I'll > backport the trivial pieces to 2.0.x too. > > Do you care about a specific value passed to -Wstack-usage=X? or do you > just want to avoid dynamic/unbounded allocs on

[hwloc-users] hwloc LDFLAGS in embedded builds

2019-05-25 Thread Balaji, Pavan via hwloc-users
Folks, We ran into an issue with the hwloc integration for MPICH. On Mac OS, hwloc detects that OpenCL is available, but the corresponding LDFLAGS are not exported upstream to MPICH, causing application builds to fail at the link stage. See this issue, for example:

Re: [hwloc-users] hwloc LDFLAGS in embedded builds

2019-05-25 Thread Balaji, Pavan via hwloc-users
Thanks, Brice. -- Pavan > On May 25, 2019, at 1:43 AM, Brice Goglin wrote: > > Thanks Pavan, I am pushing this. > > Brice > > > > Le 25/05/2019 à 08:19, Balaji, Pavan via hwloc-users a écrit : >> Folks, >> >> We ran into an issue with the h

[hwloc-users] Unused function

2020-05-28 Thread Balaji, Pavan via hwloc-users
Hello, We are maintaining this patch for hwloc internally in mpich. Can this be upstreamed? https://github.com/pmodels/hwloc/commit/a6d7018f092a0754433a0a2b17a527e64a125d38 It was throwing a warning when compiled with clang (and our usual strict flags): 8< CC

Re: [hwloc-users] Unused function

2020-05-29 Thread Balaji, Pavan via hwloc-users
Hi Brice, > On May 29, 2020, at 3:51 AM, Brice Goglin wrote: > Oh sure, I thought we fixed this a while ago. I pushed it to master. Do > you need in 2.2 only or also earlier stable series? I don't we need a backport for now. We are currently at 2.0.3, but we'll likely upgrade to 2.2 before

Re: [hwloc-users] One more silly warning squash

2020-06-01 Thread Balaji, Pavan via hwloc-users
Hi Samuel, > On Jun 1, 2020, at 4:06 AM, Samuel Thibault wrote: > could you check whether the attached patch avoids the warning? > (we should really not need a cast to const char*) The attached patch is basically the same as what we are using, isn't it? It does avoid the warning. -- Pavan

Re: [hwloc-users] One more silly warning squash

2020-06-01 Thread Balaji, Pavan via hwloc-users
> On Jun 1, 2020, at 4:10 AM, Balaji, Pavan wrote: >> On Jun 1, 2020, at 4:06 AM, Samuel Thibault wrote: >> could you check whether the attached patch avoids the warning? >> (we should really not need a cast to const char*) > > The attached patch is basically th

[hwloc-users] One more silly warning squash

2020-05-31 Thread Balaji, Pavan via hwloc-users
Folks, We are seeing some warnings with the Intel compiler with hwloc (listed below). The warnings seem to be somewhat silly because there already is a cast to "char *" from the string literal, but it seems to expect a cast to "const char *" before casting to "char *". We are maintaining the

Re: [hwloc-users] One more silly warning squash

2020-06-02 Thread Balaji, Pavan via hwloc-users
> On Jun 1, 2020, at 4:11 AM, Balaji, Pavan via hwloc-users > wrote: >> On Jun 1, 2020, at 4:10 AM, Balaji, Pavan wrote: >>> On Jun 1, 2020, at 4:06 AM, Samuel Thibault >>> wrote: >>> could you check whether the attached patch avoids the warning