Re: [OMPI users] problem

2018-05-10 Thread Ankita m
ok...Thank you so much sir On Wed, May 9, 2018 at 11:13 PM, Jeff Squyres (jsquyres) wrote: > It looks like you're getting a segv when calling MPI_Comm_rank(). > > This is quite unusual -- MPI_Comm_rank() is just a local lookup / return > of an integer. If MPI_Comm_rank() is seg faulting, it usu

Re: [OMPI users] problem

2018-05-10 Thread dpchoudh
What Jeff is suggesting is probably valgrind. However, in my experience, which is much less than most OpenMPI developers, a simple code inspection often is adequate. Here are the steps: 1. If you don't already have it, build a debug version of your code. If you are using gcc, you'd use a -g to CFL