Skip to content

Commit 3841fcf

Browse files
author
Klaus Ma
authored
Merge pull request volcano-sh#73 from volcano-sh/opt/use_host_file
2 parents e22a82d + caad82a commit 3841fcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/e2e/mpi.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ var _ = Describe("MPI E2E Test", func() {
5151
workingDir: "/home",
5252
//Need sometime waiting for worker node ready
5353
command: `sleep 5;
54-
MPI_HOST=` + "`" + `cat /etc/volcano/mpiworker.host | tr "\n" ","` + "`" + `;
5554
mkdir -p /var/run/sshd; /usr/sbin/sshd;
56-
mpiexec --allow-run-as-root --host ${MPI_HOST} -np 2 mpi_hello_world > /home/re`,
55+
mpiexec --allow-run-as-root --hostfile /etc/volcano/mpiworker.host -np 2 mpi_hello_world > /home/re`,
5756
},
5857
{
5958
name: "mpiworker",

0 commit comments

Comments
 (0)