Re: [hwloc-users] How to combine bitmaps on MPI ranks?

2018-08-28 Thread Brice Goglin
This question was addressed offline while the mailing lists were offline. We had things like hwloc_bitmap_set_ith_ulong() and hwloc_bitmap_from_ith_ulong() for packing/unpacking but they weren't very convenient unless you know multiple ulongs are actually needed to store the bitmap. We added new

[hwloc-users] How to combine bitmaps on MPI ranks?

2018-08-28 Thread Junchao Zhang
Hello, Suppose I call hwloc on two MPI ranks and get a bitmap on each. On rank 0, I want to bitwise OR the two. How to do that? I did not find bitmap APIs to pack/unpack bitmaps to/from ulongs for MPI send/recv purpose. Thank you. --Junchao Zhang