Re: [OMPI users] Allreduce with Op

2021-03-13 Thread Pierre Jolivet via users
e. > > > On Sat, Mar 13, 2021 at 4:47 AM Pierre Jolivet via users > wrote: >> Hello, >> The following piece of code generates Valgrind errors with OpenMPI 4.1.0, >> while it is Valgrind-clean with MPICH and OpenMPI 4.0.5. >> I don’t think I’m doing

[OMPI users] Allreduce with Op

2021-03-13 Thread Pierre Jolivet via users
Hello, The following piece of code generates Valgrind errors with OpenMPI 4.1.0, while it is Valgrind-clean with MPICH and OpenMPI 4.0.5. I don’t think I’m doing anything illegal, so could this be a regression introduced in 4.1.0? Thanks, Pierre $ /opt/openmpi-4.1.0/bin/mpicxx ompi.cxx -g -O0 -

[OMPI users] Bug Iscatterv/Igatherv

2013-11-26 Thread Pierre Jolivet
Hello, Just like r29736, I believe that there are some missing tests in ompi/mca/coll/libnbc/nbc_iscatterv.c and ompi/mca/coll/libnbc/nbc_igatherv.c Thoughts ? Pierre Index: nbc_igatherv.c === --- nbc_igatherv.c (revision 29756)

Re: [OMPI users] MPI process hangs if OpenMPI is compiled with --enable-thread-multiple

2013-11-25 Thread Pierre Jolivet
On Nov 24, 2013, at 3:03 PM, Jed Brown wrote: > Ralph Castain writes: > >> Given that we have no idea what Homebrew uses, I don't know how we >> could clarify/respond. > Ralph, it is pretty easy to know what Homebrew uses, c.f. https://github.com/mxcl/homebrew/blob/master/Library/Formula/op

Re: [OMPI users] open-mpi on Mac OS 10.9 (Mavericks)

2013-11-25 Thread Pierre Jolivet
Karl, What does “mpic++ -show” returns ? It is possible that you are compiling/linking with “c++”, which will defaults to clang++, while you compiled OpenMPI with g++. Since libstdc++ and libc++ have incompatible ABI, that might be why you are getting a wrong behavior. Also, it could be worthwhi

Re: [OMPI users] MPI process hangs if OpenMPI is compiled with --enable-thread-multiple

2013-11-23 Thread Pierre Jolivet
Dominique, It looks like you are compiling Open MPI with Homebrew. The flags they use in the formula when --enable-mpi-thread-multiple is wrong. c.f. a similar problem with MacPorts https://lists.macosforge.org/pipermail/macports-tickets/2013-June/138145.html. Pierre On Nov 23, 2013, at 4:56 PM

Re: [OMPI users] Bug MPI_Iscatter

2013-11-22 Thread Pierre Jolivet
George, On Nov 22, 2013, at 5:21 AM, George Bosilca wrote: > Pierre, > > On Nov 22, 2013, at 02:39 , Pierre Jolivet wrote: > >> George, >> I completely agree that the code I sent was a good example of what NOT to do >> with collective and non-blocking communica

Re: [OMPI users] Bug MPI_Iscatter

2013-11-21 Thread Pierre Jolivet
> { >int taskid, ntasks; >MPI_Init(&argc, &argv); >MPI_Request rq; >MPI_Comm_rank(MPI_COMM_WORLD,&taskid); >MPI_Comm_size(MPI_COMM_WORLD,&ntasks); >double r; >int l = 0; > >MPI_Iscatter(NULL, 0, MPI_DOUBLE, &am

[OMPI users] Bug MPI_Iscatter

2013-11-21 Thread Pierre Jolivet
Hello, The following code doesn’t execute properly : #include int main(int argc, char** argv) { int taskid, ntasks; MPI_Init(&argc, &argv); MPI_Request rq; MPI_Comm_rank(MPI_COMM_WORLD,&taskid); MPI_Comm_size(MPI_COMM_WORLD,&ntasks); double* r; int l = 0;