Please login with a confirmed email address before reporting spam
Hi Aragon
This shouldn't happen. What version of Comsol are you using?
Can you share the code? Either here or by sending it to support?
Restarting is possible, but shouldn't really be necessary. The commands mphstartcomsolmphserver and mphstart can be used for this.
Hi Lars, thank you for your response. I am using COMSOL 6.3.
I'm attaching the relevant code snippets I use for looping through my simulations. I am afraid it might be difficult to replicate the issue directly, since my workflow involves opening a large .mph file and editing it, unfortunately, the file is too massive to share. However, this code should be pretty self explanatory and does cover the entire process.
If you spot anything in the code that might be causing problems, I’d appreciate your insights.
As for starting the server: I launch COMSOL + MATLAB from the Windows Start menu, then run my Base.m script from the MATLAB GUI. I haven’t used mphstart in this code, but when I tried adding it previously in the IterPartitionandSolve.m, I received an error indicating that the server was already running. So, there should be another way to close it and reopen it, if I understood it correctly.
Let me know if there’s anything in the code that stands out, or if you have any suggestions based on this setup. Thank you!
>Hi Aragon
>
>This shouldn't happen. What version of Comsol are you using?
>
>Can you share the code? Either here or by sending it to support?
>
>Restarting is possible, but shouldn't really be necessary. The commands mphstartcomsolmphserver and mphstart can be used for this.
Hi Lars, thank you for your response. I am using COMSOL 6.3.
I'm attaching the relevant code snippets I use for looping through my simulations. I am afraid it might be difficult to replicate the issue directly, since my workflow involves opening a large .mph file and editing it, unfortunately, the file is too massive to share. However, this code should be pretty self explanatory and does cover the entire process.
If you spot anything in the code that might be causing problems, I’d appreciate your insights.
As for starting the server: I launch COMSOL + MATLAB from the Windows Start menu, then run my Base.m script from the MATLAB GUI. I haven’t used mphstart in this code, but when I tried adding it previously in the IterPartitionandSolve.m, I received an error indicating that the server was already running. So, there should be another way to close it and reopen it, if I understood it correctly.
Let me know if there’s anything in the code that stands out, or if you have any suggestions based on this setup. Thank you!