[OMPI users] efficient strategy with temporary message copy

2014-03-16 Thread christophe petit
Hello, I am studying the optimization strategy when the number of communication functions in a code is high. My courses on MPI say two things for optimization which are contradictory : 1*) You have to use temporary message copy to allow non-blocking sending and uncouple the sending and receiving

Re: [OMPI users] Open MPI 1.7.4 with --enable-mpi-thread-multiple gives MPI_Recv error

2014-03-16 Thread Gustavo Correa
I guess you need to provide buffers of char type to MPI_Send and MPI_Recv, not NULL. On Mar 16, 2014, at 8:04 PM, Elias Rudberg wrote: > Hi Ralph, > > Thanks for the quick answer! > >> Try running the "ring" program in our example directory and see if that works > > I just did this, and it wo

Re: [OMPI users] Open MPI 1.7.4 with --enable-mpi-thread-multiple gives MPI_Recv error

2014-03-16 Thread Elias Rudberg
Hi Ralph, Thanks for the quick answer! Try running the "ring" program in our example directory and see if that works I just did this, and it works. (I ran ring_c.c) Looking in your ring_c.c code, I see that it is quite similar to my test program but one thing that differs is the datatype:

Re: [OMPI users] Open MPI 1.7.4 with --enable-mpi-thread-multiple gives MPI_Recv error

2014-03-16 Thread Ralph Castain
Try running the "ring" program in our example directory and see if that works On Mar 16, 2014, at 4:26 PM, Elias Rudberg wrote: > Hello! > > I would like to report a bug in Open MPI 1.7.4 when compiled with > --enable-mpi-thread-multiple. > > The bug can be reproduced with the following test

[OMPI users] Open MPI 1.7.4 with --enable-mpi-thread-multiple gives MPI_Recv error

2014-03-16 Thread Elias Rudberg
Hello! I would like to report a bug in Open MPI 1.7.4 when compiled with --enable-mpi-thread-multiple. The bug can be reproduced with the following test program (mpi-send-recv.c): === #include #include int main() { MPI_Init(NULL, NULL); int rank;

Re: [OMPI users] Compiling Open MPI 1.7.4 using PGI 14.2 and Mellanox HCOLL enabled

2014-03-16 Thread Ralph Castain
If you are running on a Slurm-managed cluster, it won't be happy without configuring --with-slurm - you won't see the allocation, for one. Is it just the --with-slurm option that causes the problem? In other words, if you remove the rest of those options (starting --with-hcoll and going down tha

Re: [OMPI users] Compiling Open MPI 1.7.4 using PGI 14.2 and Mellanox HCOLL enabled

2014-03-16 Thread Filippo Spiga
Hi Jeff, Hi Ake, removing --with-slurm and keeping --with-hcoll seems to work. The error disappears at compile time, I have not yet tried to run a job. I can copy config.log and the make.log is needed. Cheers, F On Mar 11, 2014, at 4:48 PM, Jeff Squyres (jsquyres) wrote: > On Mar 11, 2014, at

Re: [OMPI users] Question about '--mca btl tcp,self'

2014-03-16 Thread Ralph Castain
On Mar 16, 2014, at 12:16 AM, Jianyu Liu wrote: > Thanks for your kindly input > > More further questions > > 1. How to check and change the ordering of network interfaces, such as tcp, > ib, etc., in the kernel? Heck if I know - does it matter? If you want to use a specific one, just tel

Re: [OMPI users] Question about '--mca btl tcp,self'

2014-03-16 Thread Jianyu Liu
Thanks for your kindly input More further questions 1. How to check and change the ordering of network interfaces, such as tcp, ib, etc., in the kernel? 2. One of my applications only can run with "--mca btl tcp,self", otherwise aborted without specific error messages, even if run on sin