Hi,
I'm compiling the example code at the bottom of the following page that
illustrates MPI_Init_Thread():
http://mpi.deino.net/mpi_functions/mpi_init_thread.html
I have OpenMPI 1.7.3 installed on OSX 10.8.5 with --enable-thread-multiple
compiled with clang-425.0.28. I can reproduce t
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;
OOPS! I totally forgot to mention during the BOF presentation that the SC'13
overlords asked me to tell people to fill out a survey about the Open MPI BOF
at SC two days ago.
If you attended the BOF, please take 2 minutes to fill out a survey -- getting
a BOF slot is very, very competitive. G
If you weren't able to join us at the Open MPI State of the Union BOF in Denver
at SC'13 this week, I've just posted the slides from the presentation:
http://www.open-mpi.org/papers/sc-2013/
--
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/
This program makes no sense and is wrong in multiple ways.
Jeff
On Thu, Nov 21, 2013 at 4:19 PM, Pierre Jolivet wrote:
> Hello,
> The following code doesn’t execute properly :
> #include
>
> int main(int argc, char** argv) {
> int taskid, ntasks;
> MPI_Init(&argc, &argv);
>
Pierre,
There are several issues with the code you provided.
1. You can’t use an MPI_DATATYPE_NULL as the send datatype, not even when count
is zero. At least the root must provide a real datatype. In fact the type
signature of the send message (datatype and count) should match the type
signatu
George,
I completely agree that the code I sent was a good example of what NOT to do
with collective and non-blocking communications, so I’m sending a better one.
1. I’m setting MPI_DATATYPE_NULL only on non-root processes. The root has a
real datatype. Why should both match when using MPI_IN_PLA