Skip to content
Snippets Groups Projects
Commit 8fd18047 authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

MPI Barrier to wait all processes to read the input

parent 5fddf76f
No related branches found
No related tags found
No related merge requests found
......@@ -525,7 +525,10 @@ void PlumedMain::readInputFile(std::string str){
std::vector<std::string> words;
while(Tools::getParsedLine(ifile,words) && words[0]!="ENDPLUMED") readInputWords(words);
log.printf("END FILE: %s\n",str.c_str());
log.flush();
log.flush();
//comm.Barrier();
//if(comm.Get_rank()==0) multi_sim_comm.Barrier();
pilots=actionSet.select<ActionPilot*>();
}
......
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