Page 1 of 1

Elmer does not flag when calculation is finished in multicore

Posted: 03 Jun 2021, 16:28
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

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

Posted: 04 Jun 2021, 03:04
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

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

Posted: 07 Jun 2021, 16:57
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