fix mpi send

This commit is contained in:
Joachim Schoeberl 2018-03-14 11:42:22 +01:00
parent 250063b857
commit 98dab9ca7c

View File

@ -23,7 +23,7 @@ namespace netgen
return; return;
for (int dest = 1; dest < ntasks; dest++) for (int dest = 1; dest < ntasks; dest++)
MPI_Send( cmd, (strlen(cmd)+1), MPI_CHAR, dest, MPI_TAG_CMD, MPI_COMM_WORLD); MPI_Send( (void*)cmd, (strlen(cmd)+1), MPI_CHAR, dest, MPI_TAG_CMD, MPI_COMM_WORLD);
} }
string MyMPI_RecvCmd () string MyMPI_RecvCmd ()