demo.sh
デーモン mpi タスクを開始するために使用します。
#! /bin/sh
if ! kill -0 $(cat pid) > /dev/null 2>&1
then
/sbin/start-stop-daemon -p pid -m pid --start --background --exec mpirun -n 2 a.out
fi
しかし、うまくいきません。どうすればstart-stop-daemon
mpi ジョブを開始できますか?
demo.sh
デーモン mpi タスクを開始するために使用します。
#! /bin/sh
if ! kill -0 $(cat pid) > /dev/null 2>&1
then
/sbin/start-stop-daemon -p pid -m pid --start --background --exec mpirun -n 2 a.out
fi
しかし、うまくいきません。どうすればstart-stop-daemon
mpi ジョブを開始できますか?