I am trying to run an application on multiple processors using openMPI. The command is as follows:
$mpirun -np 2 <executable>
For all those unfamiliar with the mpirun-command: -np specifies the number of processors to be used.
From time to time I log in using a remote machine and ssh. I can start my mpi-process normally. The downside is that I have to keep my remote terminal open and my remote machine running until the process is finished. I’d like to be able to log off and shut down the remote machine though.
I tried using the nohup-command as follows:
$nohup mpirun -np 2 <executable> > run.out &
Which starts the process just fine (and writes the output to <run.out>). Once I close the terminal thought, the process is killed despite the ‘nohup’ command.
It should help you, not me.
I did suggest a statement to you. When you have questions about the output of it, I am willing to look into it, but then you must:
a) execute it
b) post the output here (between CODE tags!).
But as you are satisfied this is a bit academic now.