Re: [hwloc-users] HWLOC_VERSION

2017-10-30 Thread Biddiscombe, John A.
Brice

aha. ok thanks I tried 0x00010b03 but my 1.11.7 build only has 0x00010b00 set 
so I assumed patch releases were not marked in there.

I'll see what I can do about a configure time check.

JB


-Original Message-
From: hwloc-users [mailto:hwloc-users-boun...@lists.open-mpi.org] On Behalf Of 
Brice Goglin
Sent: 30 October 2017 09:26
To: hwloc-users@lists.open-mpi.org
Subject: Re: [hwloc-users] HWLOC_VERSION

Hello

It should have been 0x00010b03 but I forgot to increase it unfortunately (and 
again in 1.11.6).
I need to add this to my release-TODO-list.

The upcoming 1.11.9 will have the proper HWLOC_API_VERSION (0x00010b06 unless 
we had something) so that people can at least check for these features in newer 
releases...

If you have some configure checks for hwloc, you could add something there to 
workaround the issue.

Sorry
Brice







Le 30/10/2017 09:09, Biddiscombe, John A. a écrit :
> Dear list
>
> According to the release notes Add HWLOC_MEMBIND_BYNODESET flag was 
> added in 1.11.3 - if I protect some code with
>
> #if HWLOC_API_VERSION >= 0x00010b00
> then versions 1.11.0, 1.11.1, 1.11.2 still cause build failures.
>
> is there some VERSION flag that distinguishes between the patch version 
> releases?
>
> thanks
>
> JB
>
>

___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users
___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users


[hwloc-users] HWLOC_VERSION

2017-10-30 Thread Biddiscombe, John A.
Dear list

According to the release notes Add HWLOC_MEMBIND_BYNODESET flag was added in 
1.11.3 - if I protect some code with 

#if HWLOC_API_VERSION >= 0x00010b00
then versions 1.11.0, 1.11.1, 1.11.2 still cause build failures.

is there some VERSION flag that distinguishes between the patch version 
releases?

thanks

JB


-- 
John Biddiscombe,email:biddisco @.at.@ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 610.82.82

___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users