questions about LocalMapdlPool and launch_mapdl #3115
-
I think running pool can save the time comsumption, but things are totally different as below, I wonder if I done something wrong
just as same when I run The situation makes me confused, my study is about bayesian model updating, need to do modal analysis many times, so I tryed LocalMapdlPool to speed up my study, but things is totally different, looking forward to help about my fem model, I show below
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
By the way, I just run LocalMapdlPool and launch_mapdl in the example showed in https://courses.ansys.com/index.php/courses/pymapdl-to-create-physics-based-datasets-for-ml-ai-applications/lessons/creating-datasets-for-simulation-models-with-pymapdl-lesson-4/ First, the question is what is the advantage of using LocalMapdlPool while it's slower than launch_mapdl |
Beta Was this translation helpful? Give feedback.
-
Hi @shixinghari Quick thought without diving to much yet. Can you try same configuration regarding number of processors? Then post the new times here, please |
Beta Was this translation helpful? Give feedback.
-
@germa89 |
Beta Was this translation helpful? Give feedback.
-
@shixinghari |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! 1, when I use Since, running two I think the problem maybe in data transmission, when ANSYS complete one task, it may sleep for a while for some reason (maybe dealing and passing the outcome) and this process takes longer in And I need to apologize for using some special version of ANSYS 2021R1, maybe this could be one of the reasons. |
Beta Was this translation helpful? Give feedback.
-
@shixinghari @germa89 |
Beta Was this translation helpful? Give feedback.
@shixinghari @germa89
Can you update to a newer version of MAPDL? At 2021 the licensing changed in a big way; the interconnect went away. So this was the first release where the applications we doing more of the client side licensing functions aside from just requesting a license. Looks like it is a known issue that the license check-out was...unstable compared to prior releases. Which then got addressed in 2022 but 2023 is better. So I don't think that there is a PyMAPDL side 'fix' for this.
Mike