Re: [OMPI devel] [OMPI] issue with mpirun

2019-07-12 Thread Ralph Castain via devel
Again, I have no knowledge of what this program is supposed to do. I would have thought it would only print once as there is only one answer, but I don't know the code. I'd suggest looking to see where it prints. On Jul 12, 2019, at 6:32 AM, Dangeti Tharun kumar

Re: [OMPI devel] [OMPI] issue with mpirun

2019-07-12 Thread Dangeti Tharun kumar via devel
Program is a hybrid OpenMP and OpenMPI matrix multiplication. Time is 0.004174 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 4.00 This is the program output. If you see, it is just printed only once by the

Re: [OMPI devel] [OMPI] issue with mpirun

2019-07-12 Thread Ralph Castain via devel
Afraid I don't know anything about that program, but it looks like it is printing the same number of times in both cases. It only appears to be more in the first case because the line wraps due to the number of PUs in the list On Jul 12, 2019, at 3:00 AM, Dangeti Tharun kumar

Re: [OMPI devel] [OMPI] issue with mpirun

2019-07-12 Thread Dangeti Tharun kumar via devel
Thanks, Ralph. Why is the output of the program(mm-llvm.out) being run is printed only once, while the mpirun from intel prints as many times as mentioned in the command line? On Thu, Jul 11, 2019 at 11:08 PM Ralph Castain via devel < devel@lists.open-mpi.org> wrote: > Because OMPI binds to

Re: [OMPI devel] [OMPI] issue with mpirun

2019-07-11 Thread Ralph Castain via devel
Because OMPI binds to core by default when np=2. If you have an OpenMP process, you want to add “--bind-to numa" to your mpirun cmd line. On Jul 11, 2019, at 10:28 AM, Dangeti Tharun kumar via devel mailto:devel@lists.open-mpi.org> > wrote: Hi Devs, I have build openmpi with LLVM-8

[OMPI devel] [OMPI] issue with mpirun

2019-07-11 Thread Dangeti Tharun kumar via devel
Hi Devs, I have build openmpi with LLVM-8 compiler, I tried a simple example on a 2 socket machine. The following is the output of mpirun from ICC(intel c compiler package) and mpirun from openmpi: Why the CPU topology(highlighted below) identified by both of them are different? Not sure, if