Page 1 of 1
How to Exit Parallel Computing in OpenSeesMP
Posted: Tue Jun 05, 2018 12:34 am
by nupassin
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!
Re: How to Exit Parallel Computing in OpenSeesMP
Posted: Fri Jun 08, 2018 8:50 am
by fmk
no .. but just end all but 1 processor, e.g.
# do parallel stuff
if {$myID == 0} {
# do sequential stuff
}
Re: How to Exit Parallel Computing in OpenSeesMP
Posted: Wed Jun 13, 2018 3:13 am
by nupassin
Thank you so much, Frank!
I solved the problems follow your ex7.tcl, that's a quite useful example.
Re: How to Exit Parallel Computing in OpenSeesMP
Posted: Thu Jan 13, 2022 12:46 pm
by ZhuRZ
Could you tell me where can I download the complete example about parallel computing in OpenSeesMP?
Re: How to Exit Parallel Computing in OpenSeesMP
Posted: Thu Mar 14, 2024 2:02 am
by marksteve
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!
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.