MPI 4 mpi shared memory window with locking

MPI 4 mpi shared memory window with locking

Why does the attached code compiled :

icc test.c -g -o progtest -I/pgsdev/com/intel/intel11.1.072/impi/4.0.0.028/include64 -L/pgsdev/com/intel/intel11.1.072/impi/4.0.0.028/lib64 -lmpi

and run:

mpirun -np 2 progtest

return all zeros. I am trying to put a pattern of ones and zeros from rank 1 to rank zero using shared
memory windows. Rank zero is just outputting all zeros.

AttachmentSize
Download test.c1.36 KB
3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

MPI questions are more likely to get attention on the HPC forum.

Leave a Comment

Please sign in to add a comment. Not a member? Join today