Elmer does not flag when calculation is finished in multicore

Numerical methods and mathematical models of Elmer
Post Reply
lmehdizadegannam
Posts: 24
Joined: 14 Apr 2021, 17:12
Antispam: Yes

Elmer does not flag when calculation is finished in multicore

Post by lmehdizadegannam »

Hello,

I am running an Elmer code (combined with python, running the python script) in Windows and multicore. When the calculation finishes, I do not receive any message in the terminal indicating it has finished. I just should periodically check the output file to see if it is still running. Can anyone guide me how I can resolve this issue?

Thank you so much.
Kindest regards,
Lida
XHZhu
Posts: 11
Joined: 23 May 2021, 02:03
Antispam: Yes

Re: Elmer does not flag when calculation is finished in multicore

Post by XHZhu »

Hi Lida,

I have a very similar requirement in my project. I use python to run the FEM problem. I attached my script below to execute and scan files. Hope they can be helpful. They are similar to PyElmer.

Xinghao
Attachments
elmer_py.txt
(1.8 KiB) Downloaded 123 times
lmehdizadegannam
Posts: 24
Joined: 14 Apr 2021, 17:12
Antispam: Yes

Re: Elmer does not flag when calculation is finished in multicore

Post by lmehdizadegannam »

Thanks so much Xinghao for your reply. I truly appreciate it. Can you also guide me how I should implement this? I added the lines you sent me to my Python code, but the same problem still exists. Is this how I was supposed to implement the code you sent me?

Thanks so much.
Kindest regards,
Lida
Post Reply