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!
How to Exit Parallel Computing in OpenSeesMP
Moderator: selimgunay
Re: How to Exit Parallel Computing in OpenSeesMP
no .. but just end all but 1 processor, e.g.
# do parallel stuff
if {$myID == 0} {
# do sequential stuff
}
# do parallel stuff
if {$myID == 0} {
# do sequential stuff
}
Re: How to Exit Parallel Computing in OpenSeesMP
Thank you so much, Frank!
I solved the problems follow your ex7.tcl, that's a quite useful example.
I solved the problems follow your ex7.tcl, that's a quite useful example.
Re: How to Exit Parallel Computing in OpenSeesMP
Could you tell me where can I download the complete example about parallel computing in OpenSeesMP?
Re: How to Exit Parallel Computing in OpenSeesMP
If you want to run parallel computations multiple times within the same script, you may need to reset the MPI environment between each parallel run. However, this approach can be complex and may not be directly supported by OpenSeesMP. It's generally simpler to structure your script to perform parallel and serial computations in separate runs.nupassin wrote: ↑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 like ecommerce optimization services 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!