I have started a program in parallel using the command:
nohup mpirun -7 mylongprogram.py &
I now want to terminate the program. When I want to kill the process by the command:
kill -9 <PID>
I see that another process with a different PID is started. How do I kill the entire mpi program and prevent nohup from doing this?