From c1f9f1d09a2e562ca16afadb2a487e2c621506cf Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Mon, 31 Jul 2023 16:19:46 +0200 Subject: [PATCH] keep mpirun going --- user-guide/mpirun.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 user-guide/mpirun.md diff --git a/user-guide/mpirun.md b/user-guide/mpirun.md new file mode 100644 index 00000000..04fae4d6 --- /dev/null +++ b/user-guide/mpirun.md @@ -0,0 +1,13 @@ +# Start Long Running Programs/Simulations with `mpirun` + +If you want to start a program with `mpirun` or based on `mpirun` in a shell session and to exit after, then `nohup`, `screen` or `tmux` are not sufficient. On exit you might get an error like +``` +mpirun noticed that process rank 0 with PID 26312 on node lcth31 exited on signal 0 (Unknown signal 0). +``` + +To avoid this, use `disown`: + +``` +nohup [command] & disown +``` +