Community
cancel
Showing results for 
Search instead for 
Did you mean: 
happyIntelCamper
Beginner
118 Views

MPI 4 mpi shared memory window with locking

Jump to solution
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.


0 Kudos
1 Solution
Dmitry_K_Intel2
Employee
118 Views
Hi HappyIntelCamper,

Please take a look at the attached file. I hope that you'll easily find differences.

BTW: Why don't you use 'mpiicc -o progtest test.c' for compilation?

Regards!
Dmitry

View solution in original post

1 Reply
Dmitry_K_Intel2
Employee
119 Views
Hi HappyIntelCamper,

Please take a look at the attached file. I hope that you'll easily find differences.

BTW: Why don't you use 'mpiicc -o progtest test.c' for compilation?

Regards!
Dmitry

View solution in original post

Reply