Skip to content
Snippets Groups Projects
Commit 92ae9720 authored by Benjamin Lindner2's avatar Benjamin Lindner2
Browse files

manual MPI serialization for database, params,sample unit test

parent a532ed7c
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ int main(int argc,char* argv[]) {
databasebuffer = const_cast<char*>(databasestream.str().c_str());
databasebuffersize = databasestream.str().size();
}
broadcast(world,&paramsbuffersize,1,0);
broadcast(world,&databasebuffersize,1,0);
if (world.rank()!=0) {
databasebuffer = (char*) malloc(databasebuffersize*sizeof(char));
}
......
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