|
|
$ mpicc gaussian.c zulfi@lc2530hz:~/c programs/MPI_PROG/GEGH$ mpirun -np 4 ./a.out matrix.3200.txt [lc2530hz:05635] *** Process received signal *** [lc2530hz:05635] Signal: Segmentation fault (11) [lc2530hz:05635] Signal code: (128) [lc2530hz:05635] Failing at address: (nil) [lc2530hz:05636] *** Process received signal *** [lc2530hz:05636] Signal: Segmentation fault (11) [lc2530hz:05636] Signal code: (128) [lc2530hz:05636] Failing at address: (nil) [lc2530hz:05637] *** Process received signal *** [lc2530hz:05637] Signal: Segmentation fault (11) [lc2530hz:05637] Signal code: (128) [lc2530hz:05637] Failing at address: (nil) [lc2530hz:05636] [ 0] [lc2530hz:05637] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f7ac9b11f20] [lc2530hz:05637] [ 1] [lc2530hz:05635] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fd882900f20] [lc2530hz:05635] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fdeb9110f20] [lc2530hz:05636] [ 1] [ 1] /lib/x86_64-linux-gnu/libc.so.6(fclose+0xd4)[0x7fdeb9150324] [lc2530hz:05636] [ 2] ./a.out(+0x116c)[0x/lib/x86_64-linux-gnu/libc.so.6(fclose+0xd4)[0x7f7ac9b51324] [lc2530hz:05637] [ 2] ./a.out(+0x116c)[0x5651bd24c16c] [lc2530hz:05637] [ 3] /lib/x86_64-linux-gnu/libc.so.6(fclose+0xd4)[0x7fd882940324] [lc2530hz:05635] [ 2] 56176a25a16c] [lc2530hz:05636] [ 3] /lib/x86_64-linux-gnu/libc.so.6(./a.out(+0x116c)[0x55ee0e31b16c] [lc2530hz:05635] [ 3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f7ac9af4b97] [lc2530hz:05637] __libc_start_main+0xe7)[0x7fdeb90f3b97] [lc2530hz:05636] [ 4] ./a.out(+0xc1a)[0x56176a259c1a[ 4] ./a.out(+0xc1a)[0x5651bd24bc1a] [lc2530hz:05637] *** End of error message *** e7)[0x7fd8828e3b97] [lc2530hz:05635] [ 4] ./a.out(+0xc1a] [lc2530hz:05636] *** End of error message *** )[0x55ee0e31ac1a] [lc2530hz:05635] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 1 with PID 0 on node lc2530hz exited on signal 11 (Segmentation fault). -------------------------------------------- |
(double *)malloc(num_rows * sizeof(double *))
instead of(double *)malloc(num_rows * sizeof(double))
.
|
|
$ mpirun -np 4 ./a.out matrix.3200.txt [lc2530hz:05234] *** Process received signal *** [lc2530hz:05234] Signal: Segmentation fault (11) [lc2530hz:05234] Signal code: (128) [lc2530hz:05234] Failing at address: (nil) [lc2530hz:05235] *** Process received signal *** [lc2530hz:05235] Signal: Segmentation fault (11) [lc2530hz:05235] Signal code: (128) [lc2530hz:05235] Failing at address: (nil) [lc2530hz:05236] *** Process received signal *** [lc2530hz:05236] Signal: Segmentation fault (11) [lc2530hz:05236] Signal code: (128) [lc2530hz:05236] Failing at address: (nil) [lc2530hz:05234] [ 0] [lc2530hz:05235] [ 0] [lc2530hz:05236] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f593d9cff20] [lc2530hz:05236] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fa95388af20] [lc2530hz:05235] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f4ac3b38f20] [lc2530hz:05234] [ 1] /lib/x86_64-linux-gnu/libc.so.6(fclose+0xd4)[0x7f593da0f324] [lc2530hz:05236] [ 2] /lib/x86_64-linux-gnu/libc.so.6(fclose+0xd4)[0x7fa9538ca324] [lc2530hz:05235] [ 2] ./a.out(+0x125b)[0x557c08d7625b] [lc2530hz:05235] /lib/x86_64-linux-gnu/libc.so.6(fclose+0xd4)[0x7f4ac3b78324] [lc2530hz:05234] [ 2] ./a.out(+0x125b)[0x[ 3] ./a.out(+0x125b)[0x55def934725b] [lc2530hz:05236] [ 3] 558ef74dd25b] [lc2530hz:05234] [ 3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f593d9b2b97] [lc2530hz:05236] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fa95386db97] [lc2530hz:05235] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f4ac3b1bb97] [lc2530hz:05234] [ 4] ./a.out(+0xc6a)[0x558ef74dcc6a] [ 4] ./a.out(+0xc6a)[0x557c08d75c6a] [lc2530hz:05235] *** End of error message *** ./a.out(+0xc6a)[0x55def9346c6a] [lc2530hz:05236] *** End of error message *** [lc2530hz:05234] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 1 with PID 0 on node lc2530hz exited on signal 11 (Segmentation fault). -------------------------------------------------------------------------- zulfi@lc2530hz:~/c programs/MPI_PROG/GEGH$ |