Hello everybody!
When i am trying to start The Gauss-Seidel's parallel algorithm i get the error information:
user@pel1:~$ ./1
Parallel Gauss - Seidel algorithm
Enter the grid size: 10
Enter the required accuracy: 0.025
Chosen accuracy = 0.025000[pel1:08510] *** Process received signal ***
[pel1:08510] Signal: Segmentation fault (11)
[pel1:08510] Signal code: Address not mapped (1)
[pel1:08510] Failing at address: 0xa0000000a
[pel1:08510] [ 0] /lib/libpthread.so.0(+0xeff0) [0x7f1f16c6fff0]
[pel1:08510] [ 1] /lib/libc.so.6(memcpy+0xa0) [0x7f1f1697ebd0]
[pel1:08510] [ 2] /usr/lib/libmpi.so.0(ompi_ddt_copy_content_same_ddt+0xbd) [0x7f1f1812e86d]
[pel1:08510] [ 3] /usr/lib/libmpi.so.0(ompi_ddt_sndrcv+0x53f) [0x7f1f1812c64f]
[pel1:08510] [ 4] /usr/lib/libmpi.so.0(PMPI_Allgatherv+0x1b5) [0x7f1f181356c5]
[pel1:08510] [ 5] ./1(_Z16ResultCollectionPdS_ii+0x174) [0x40a226]
[pel1:08510] [ 6] ./1(main+0x133) [0x40a6da]
[pel1:08510] [ 7] /lib/libc.so.6(__libc_start_main+0xfd) [0x7f1f1691dc8d]
[pel1:08510] [ 8] ./1() [0x409679]
[pel1:08510] *** End of error message ***
Segmentation fault My processor Q9550 with Pelican v 2.9 x64 bit.
Code of The Gauss-Seidel's parallel algorithm: see Insert Image.