Re: [OMPI devel] About supporting HWLOC 2.0.x

2018-05-23 Thread Vallee, Geoffroy R.
I totally missed that PR before I sent my email, sorry. It pretty much covers 
all the modifications I made. :) Let me know if I can help in any way.

Thanks,

> On May 22, 2018, at 11:49 AM, Jeff Squyres (jsquyres)  
> wrote:
> 
> Geoffroy -- check out https://github.com/open-mpi/ompi/pull/4677.
> 
> If all those issues are now moot, great.  I really haven't followed up much 
> since I made the initial PR; I'm happy to have someone else take it over...
> 
> 
>> On May 22, 2018, at 11:46 AM, Vallee, Geoffroy R.  wrote:
>> 
>> Hi,
>> 
>> HWLOC 2.0.x support was brought up during the call. FYI, I am currently 
>> using (and still testing) hwloc 2.0.1 as an external library with master and 
>> I did not face any major problem; I only had to fix minor things, mainly for 
>> putting the HWLOC topology in a shared memory segment. Let me know if you 
>> want me to help with the effort of supporting HWLOC 2.0.x.
>> 
>> Thanks,
>> ___
>> devel mailing list
>> devel@lists.open-mpi.org
>> https://lists.open-mpi.org/mailman/listinfo/devel
> 
> 
> -- 
> Jeff Squyres
> jsquy...@cisco.com
> 
> ___
> devel mailing list
> devel@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/devel
> 

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


Re: [OMPI devel] openmpi-3.1.0 cygwin patch

2018-05-23 Thread Gilles Gouaillardet
Marco,

Have you tried to build Open MPI with an external (e.g. Cygwin provided)
libevent library ?
If that works, I think that would be the preferred method.

Cheers,

Gilles

On Wednesday, May 23, 2018, Marco Atzeri  wrote:

> The attached patch allows the compilation of openmpi-3.1.0
> on cygwin 32 and 64 bit with gcc 7.3
>
>
> It is basically the same already proposed in the past for 2.1.2
>
> I will release the cygwin package as soon we roll out
> the gcc 7.3 compiler
>
> Regards
> Marco
>
___
devel mailing list
devel@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/devel

[OMPI devel] openmpi-3.1.0 cygwin patch

2018-05-23 Thread Marco Atzeri

The attached patch allows the compilation of openmpi-3.1.0
on cygwin 32 and 64 bit with gcc 7.3


It is basically the same already proposed in the past for 2.1.2

I will release the cygwin package as soon we roll out
the gcc 7.3 compiler

Regards
Marco
--- origsrc/openmpi-3.1.0/opal/mca/event/libevent2022/libevent/event.h  
2018-05-07 22:42:22.0 +0200
+++ src/openmpi-3.1.0/opal/mca/event/libevent2022/libevent/event.h  
2018-05-21 15:05:39.09000 +0200
@@ -56,7 +56,7 @@ extern "C" {
 /* For int types. */
 #include 
 
-#ifdef WIN32
+#if defined(WIN32) && !defined(__CYGWIN__)
 #ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN
 #endif
___
devel mailing list
devel@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/devel