Re: [OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-21 Thread Tobias Hilbrich
Hi Jeff, Hi Gilles, many thanks for your input and work. Good to hear your opinion, and if someone reports a related issue in the future it may help to know things already. Best, -Tobias -- Dr.-Ing. Tobias Hilbrich Research Assistant Technische Universitaet Dresden, Germany Tel.: +49 (351) 46

Re: [OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-20 Thread Gilles Gouaillardet
Tobias and Jeff, here is attached a simple reproducer. i reported it to apple with id 23195613 /* you need to replace #define EXTERN with #define EXTERN extern so the compilation successes with an other compiler (otherwise, compilation fails but compiler does not crash) */ Cheers, Gilles On T

Re: [OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-20 Thread Jeff Squyres (jsquyres)
Tobias -- I'm able to replicate the problem with 1.8.4 and 1.8.8 and 1.10.0 on OS X 10.10.5 (Yosemite) and Xcode 7.0.1. I'd suggest filing a bug at bugreporter.apple.com with the information that clang provided in their output. If there's a bug in the compiler, there's not much that we here a

Re: [OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-20 Thread Tobias Hilbrich
Hi Gilles, as for that, recompiling OpenMPI works, but causes no change here. -Tobias -- Dr.-Ing. Tobias Hilbrich Research Assistant Technische Universitaet Dresden, Germany Tel.: +49 (351) 463-38485 E-Mail: tobias.hilbr...@tu-dresden.de > On 20 Oct 2015, at 11:42, Gilles Gouaillardet > wro

Re: [OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-20 Thread Tobias Hilbrich
Hi Gilles, yes MPI_Comm_compare can solve the issue, though one has to take care not to pass MPI_COMM_NULL into that (according the MPICH documentation at least). Even a simple modification can remove the issue: " ... MPI_Comm comm = MPI_COMM_NULL; if (MPI_COMM_NULL == comm) ... " Attached an

Re: [OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-20 Thread Gilles Gouaillardet
Tobias, Btw, did you recompile ompi with this xcode ? Iirc, we do similar comparisons in ompi itself Cheers, Gilles Tobias Hilbrich wrote: >Hi all, > >a wonderful puzzle for the OSX folks in your team (Reproducer attached): > >Attached source file builds with Xcode 7.0.0, but fails since the r

Re: [OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-20 Thread Gilles Gouaillardet
Tobias, Fwiw, MPI_Comm_compare can be used to compare communicators. Hopefully, this is also compiler friendly. Cheers, Gilles On Tuesday, October 20, 2015, Tobias Hilbrich wrote: > Hi all, > > a wonderful puzzle for the OSX folks in your team (Reproducer attached): > > Attached source file b

[OMPI devel] Issue with OpenMPI 1.8.4 + Xcode 7.0.1

2015-10-20 Thread Tobias Hilbrich
Hi all, a wonderful puzzle for the OSX folks in your team (Reproducer attached): Attached source file builds with Xcode 7.0.0, but fails since the release of Xcode 7.0.1. I post it here since it results from an "if (MPI_COMM_NULL == MPI_COMM_SELF)". I am actually curious whether this is somehow