0

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-daemonmpi ジョブを開始できますか?

4

0 に答える 0