One possible solution is to split arrays in small bits, e.g. only 1000 or 10000 
elements being sent/received, and catenate messages to rebuild original array. 
I attach example implementations for Reduce, Send and Recv calls (file: 
mpi_split-blocks.txt).

** Attachment added: "mpi-split-blocks.txt"
   http://launchpadlibrarian.net/38623209/mpi-split-blocks.txt

-- 
Segmentation fault while sending large arrays
https://bugs.launchpad.net/bugs/231062
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to