Run the job under "nohup" (no hang-up).
For instance,
nohup mpiexec -n 4 /opt/atk/bin/atk script.py > log.py &
Note that some instances of mpd produces a huge amount of error messages in the log when you run in the background unless you pipe stdin also. In that case, use
nohup mpiexec -n 4 /opt/atk/bin/atk script.py > log.py < /dev/null &