- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page