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
Post Reply
nupassin
Posts: 3
Joined: Fri Oct 31, 2014 3:16 am
Location: Dalian University of Technology

How to Exit Parallel Computing in OpenSeesMP

Post by 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!

fmk
Site Admin
Posts: 5860
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: How to Exit Parallel Computing in OpenSeesMP

Post by 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
}

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

Re: How to Exit Parallel Computing in OpenSeesMP

Post by 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.


Post Reply