Hi. I'm trying to run this:<br> /opt/mpich/gnu/bin/mpirun -v -np 4 -machinefile program<br><br>but i get this <b>error:</b><br><br>CHECK 1<br><br>p0_32481: p4_error: interrupt SIGSEGV: 11<br>Killed by signal 2.<br>
Killed by signal 2.<br>Killed by signal 2.<br>p0_32481: (0.597656) net_send: could not write to fd=4, errno = 32<br><br><br><br><b>This is the code:</b><br><br>#define TAG_TASK 1<br>.<br>.<br>.<br>//i'm master******************************<br>
printf("\n\nCHECK 1\n\n");<br><br>MPI_Ssend(task, 2, MPI_INT, node, TAG_TASK, MPI_COMM_WORLD);<br><br>printf("\n\nCHECK 2 \n\n");<br><br><br>//i'm slave********************************<br>MPI_Recv(task, 2, MPI_INT, 0, MPI_ANY_TAG, MPI_COMM_WORLD, &status);<br>
<br><b>And this is my machine file:</b><br><br><a href="http://beta.something.com">beta.something.com</a><br>compute-1-0.local<br>compute-1-1.local<br>compute-1-2.local<br><br>Any solution?<br><br><br>Thank you.<br>