mpicc mpi.c -o mpi
echo cellist0 > machinefile echo cellist1 >> machinefile echo cellist2 >> machinefile echo cellist3 >> machinefile
cellist0 cellist1 cellist2 cellist3
mpdboot -n 3 -f machinefile
mpdtrace
mpirun -np 4 ./mpi もしくは mpiexec -n 4 ./mpi
mpdallexit