From 41f79599b1a9991b4922e2c71f6a035888659e1a Mon Sep 17 00:00:00 2001 From: zhangshuai Date: Mon, 27 May 2019 16:20:15 +0800 Subject: [PATCH] modify the mpi scripts 3 --- Gazebo_Distributed_MPI/mpi_run/MPI_Gazebo_launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gazebo_Distributed_MPI/mpi_run/MPI_Gazebo_launch.sh b/Gazebo_Distributed_MPI/mpi_run/MPI_Gazebo_launch.sh index 951d8a2..47e69b7 100755 --- a/Gazebo_Distributed_MPI/mpi_run/MPI_Gazebo_launch.sh +++ b/Gazebo_Distributed_MPI/mpi_run/MPI_Gazebo_launch.sh @@ -83,7 +83,7 @@ sleep 5m #登入各节点kill相关进程以结束仿真(1.目前方式比较暴力,后续改进;2.cd ~/MPI 还要进行灵活性优化) for((i=0;i /dev/null 2>&1 "cd ~/MPI; + ssh -f -n ${hosts[$i]} > /dev/null 2>&1 "cd ~/Git/Gazebo_Distributed_MPI/mpi_run; ./kill.sh; ./kill.sh; ./kill.sh;