Re: [OMPI users] openMP and mpi problem

2014-07-02 Thread Ralph Castain
Let's keep this on the user list so others with similar issues can find it. My guess is that the $OMP_NUM_THREADS syntax isn't quite right, so it didn't pick up the actual value there. Since it doesn't hurt to have extra cpus, just set it to 8 for your test case and that should be fine, so

Re: [OMPI users] mpi prorg fails (big data)

2014-07-02 Thread Ralph Castain
I would suggest having him look at the core file with a debugger and see where it fails. Sounds like he has a memory corruption problem. On Jun 24, 2014, at 3:31 AM, Dr.Peer-Joachim Koch wrote: > Hi, > > one of our cluster users reported a problem with openmpi. > He

Re: [OMPI users] openMP and mpi problem

2014-07-02 Thread Ralph Castain
OMPI started binding by default during the 1.7 series. You should add the following to your cmd line: --map-by :pe=$OMP_NUM_THREADS This will give you a dedicated core for each thread. Alternatively, you could instead add --bind-to socket OMPI 1.5.5 doesn't bind at all unless directed to do

[OMPI users] openMP and mpi problem

2014-07-02 Thread Timur Ismagilov
Hello! I have open mpi 1.9a1r32104 and open mpi 1.5.5. I have much better perfomance in open mpi 1.5.5 with openMP on 8 cores in  the program: #define N 1000 int main(int argc, char *argv[]) { ... MPI_Init(, ); ... for (i = 0; i < N; i++) { a[i] = i * 1.0; b[i] =