Quote:
Originally Posted by
pludi
How do you know it terminates?
Hmmm I just run two terminals, and then I'm logging 2 times in each window. One window is used for remote commands and the other one for htop.
I can see every action I made in the first terminal by observing the htop in the second window. I see when the cpu load bars are rising due to mpirun action, and when they decreasing suddenly after closing 'remote commands' terminal.
---------- Post updated at 03:53 PM ---------- Previous update was at 12:17 PM ----------
Ok, I found the solution. It's screen command.
One can simply do as me. Type:
1) screen
2) here you can put any of your commands that suppose to stay in a background. I put here my:
mpirun -np 8 compressibleInterFoam -parallel > log.txt &
3) press ctrl + a + d // and you are free
you can close the terminal if you want or just logout
In order to get back to the screen, type:
1) screen -list // as a result you will get all of the screens and numbers of processes
2) screen -r <number> // reattach you to the screen denoted by number of the certain process.
Thanks for advice