Replies: 2 comments
-
Hi. There is no trick. Ending the Python session is the way to properly close the client. This is no different from the GUI. You can't close the client without closing the GUI. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your answer John-Hen. All good, I'm fine with this... I just have to accept it ;) I'm wishing you a good day. With regards M |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear MPH users and developers,
I'm using COMSOL in parallel between the COMSOL GUI and the python console.
Here is my procedure:
I'm starting my COMSOL server, open my model in the COMSOL GUI and connect via the GUI to the comsol server.
I'm then using the following instruction to start my client in python console:
client = mph.Client(cores=8,port=2036)
At the end of my script, when I'm trying to close it, i'm using the instructions:
I can see on the comsol server cmd window that my client has been disconnecting from the server... all good
This being done, I have no possibility to start again the client with the first instruction. When doing so, I obtain the following:
It seems that the client is still there... Strange...
I always have to kill the console to get the chance to get back to work.
What is the trick I'm missing there?
Thanks for your input!
With regards
Magaud
Beta Was this translation helpful? Give feedback.
All reactions