Skip to content

Commit 896b1d7

Browse files
committed
Add barrier command to processEvents for synchronization in OpenSeesPreprocessor
1 parent 6218777 commit 896b1d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/performSIMULATION/openSees/OpenSeesPreprocessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ OpenSeesPreprocessor::processEvents(ofstream &s){
978978
edpList.end(); ++itEDP) {
979979
s << " " << *itEDP;
980980
}
981-
s << "]\n puts $output\n }\nset pid [getPID]\nif {$pid==0} {call_python} \n";
981+
s << "]\n puts $output\n }\nset pid [getPID]\nif {$pid==0} {call_python} \nbarrier\n";
982982

983983
} else if(strstr(postprocessingScript, ".tcl") != NULL) {
984984

0 commit comments

Comments
 (0)