mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
vampir
This commit is contained in:
parent
0a626a57f3
commit
51084912d9
@ -229,6 +229,7 @@ namespace netgen
|
||||
char buf[100];
|
||||
// MPI_Bcast (&buf, 100, MPI_CHAR, 0, MPI_COMM_WORLD);
|
||||
|
||||
VT_OFF();
|
||||
MPI_Status status;
|
||||
int flag;
|
||||
do
|
||||
@ -237,6 +238,8 @@ namespace netgen
|
||||
if (!flag) usleep (1000);
|
||||
}
|
||||
while (!flag);
|
||||
VT_ON();
|
||||
|
||||
MPI_Recv( &buf, 100, MPI_CHAR, 0, MPI_TAG_CMD, MPI_COMM_WORLD, &status);
|
||||
|
||||
return string(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user