Skip to content
Snippets Groups Projects
Commit c9e9c366 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added Barrier

This barrier is apparently useless since it comes
just before a Bcast.

Anyway, it looks like it is solving an issue that appeared on
TRAVIS (at least on my laptop) so I add it here.

Related to #183
parent c837501b
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,15 @@ size_t OFile::llwrite(const char*ptr,size_t s){
r=fwrite(ptr,1,s,fp);
}
}
// This barrier is apparently useless since it comes
// just before a Bcast.
//
// Anyway, it looks like it is solving an issue that appeared on
// TRAVIS (at least on my laptop) so I add it here.
// GB
if(comm) comm->Barrier();
if(comm) comm->Bcast(r,0);
return r;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment