How to Exit Parallel Computing in OpenSeesMP

This forum is for issues related to parallel processing
and OpenSees using the new interpreters OpenSeesSP and OpenSeesMP

How to Exit Parallel Computing in OpenSeesMP

Postby nupassin » Tue Jun 05, 2018 12:34 am

Dear All,

I am using the OpenSeesMP. In the Main.tcl script, I called several Procedure.tcl using the parellel computing, after which I want to end the parallel mission because the other commends in Main.tcl need to be done in seriel. Is there any commend to transfer parallel to serial in OpenSeesMP? Or how can I end and restart parallel mission again and again?

Thank you!
nupassin
 
Posts: 3
Joined: Fri Oct 31, 2014 3:16 am
Location: Dalian University of Technology

Re: How to Exit Parallel Computing in OpenSeesMP

Postby fmk » Fri Jun 08, 2018 8:50 am

no .. but just end all but 1 processor, e.g.

# do parallel stuff
if {$myID == 0} {
# do sequential stuff
}
fmk
Site Admin
 
Posts: 5860
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley

Re: How to Exit Parallel Computing in OpenSeesMP

Postby nupassin » Wed Jun 13, 2018 3:13 am

Thank you so much, Frank!
I solved the problems follow your ex7.tcl, that's a quite useful example.
nupassin
 
Posts: 3
Joined: Fri Oct 31, 2014 3:16 am
Location: Dalian University of Technology



Return to Parallel Processing

Who is online

Users browsing this forum: No registered users and 1 guest