diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 1999-10-26 23:02:17 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 1999-10-26 23:02:17 +0000 |
commit | 4392870df8c8cce741e4135b3ce53f0a1af9530a (patch) | |
tree | 051ee5e195e0a0be0a43ed9095b34b8b4a38270c | |
parent | 163b9671533a602baca196094cd469e08a1dfdb1 (diff) |
pugh_Barrier() now really does a global synchronization.
Was an empty function before.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@119 b61c5cb5-eaca-4651-9a7a-d64986f99364
-rw-r--r-- | src/Comm.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -639,6 +639,13 @@ int pugh_DisableGroupComm(cGH *GH, const char *groupname) int pugh_Barrier(cGH *GH) { +#ifdef MPI + pGH *pughGH; + + pughGH = (pGH *) GH->extensions [CCTK_GHExtensionHandle ("PUGH")]; + CACTUS_MPI_ERROR (MPI_Barrier (pughGH->PUGH_COMM_WORLD)); +#endif + return 0; } |