请帮我看看这个MPI_Scatter() 问题# Computation - 科学计算
c*l
1 楼
有一个C写的MPI程序,目前用gdb在16个节点上调试:
很快锁定下面这句有问题,每次运行到这里就出错:
MPI_Scatter(SendValueReal, (X_Size*Y_Size)/(XN*YN), MPI_FLOAT,
Local_Buf, (X_Size*Y_Size)/(XN*YN), MPI_FLOAT, 0, MPI_COMM_WORLD);
错误信息如下:
p1_29194: p4_error: interrupt SIGSEGV: 11
p5_11579: p4_error: interrupt SIGSEGV: 11
p7_513: p4_error: interrupt SIGSEGV: 11
p11_31130: p4_error: interrupt SIGSEGV: 11
Program received signal SIGUSR1, User defined signal 1.
p9_31572: p4_error: interrupt SIGSEGV: 11
p13_29641: p4_error: interrupt SIGSEGV
很快锁定下面这句有问题,每次运行到这里就出错:
MPI_Scatter(SendValueReal, (X_Size*Y_Size)/(XN*YN), MPI_FLOAT,
Local_Buf, (X_Size*Y_Size)/(XN*YN), MPI_FLOAT, 0, MPI_COMM_WORLD);
错误信息如下:
p1_29194: p4_error: interrupt SIGSEGV: 11
p5_11579: p4_error: interrupt SIGSEGV: 11
p7_513: p4_error: interrupt SIGSEGV: 11
p11_31130: p4_error: interrupt SIGSEGV: 11
Program received signal SIGUSR1, User defined signal 1.
p9_31572: p4_error: interrupt SIGSEGV: 11
p13_29641: p4_error: interrupt SIGSEGV