I am working on a remote server, on which I do numerical simulation using the OpenFOAM computational fluid dynamics library. I built a collection of Python scripts to automate my parametric studies and they seem to be working well.
I connect to the server using SSH, and I launch the scripts in an interactive shell. Sometimes, under conditions I'm still unable to identify, the server closes the SSH session. I currently use the
screen window manager as a workaround, but still seems like an issue to me. Here is an exemple of output I get:
<lots of output before that> Dumping up_half1 faces to "final_up_half1.obj" Dumping cyclic match as lines between face centres to "final_up_half0up_half1_match.obj" Writing repatched mesh to 0 End Killing PID 32536 Connection to hpc4 closed by remote host. Connection to hpc4 closed. ➜ ~
Please note that the simulation is not completed: after the termination of the application which print
End on screen, another one should start and perform some treatments.
So here's the question: What could be the cause of such disconnections?