Re: [OMPI users] Using Open MPI with multiple versions of GCC and G++

2016-10-11 Thread Gilles Gouaillardet
FWIW. mpicxx does two things : 1) use the C++ compiler (e.g. g++) 2) if Open MPI was configured with (deprecated) C++ bindings (e.g. --enable-mpi-cxx), then link with the Open MPI C++ library that contains bindings. IIRC, Open MPI v1.10 does build C++ bindings by default, but v2.0 does n

Re: [OMPI users] Using Open MPI with multiple versions of GCC and G++

2016-10-11 Thread Dave Love
"Jeff Squyres (jsquyres)" writes: > Especially with C++, the Open MPI team strongly recommends you > building Open MPI with the target versions of the compilers that you > want to use. Unexpected things can happen when you start mixing > versions of compilers (particularly across major versions

Re: [OMPI users] Using Open MPI with multiple versions of GCC and G++

2016-10-06 Thread Jeff Squyres (jsquyres)
On Oct 6, 2016, at 9:56 AM, Aditya wrote: > > I'm a senior year Computer Science student working on Parallel Clustering > Algorithms at BITS Pilani, India. I have a few questions about using mpicc > and mpicxx with multiple versions of gcc / g++. > > I am using Ubuntu 12.04 equipped with gcc