From 99e280fdac473bbb42f456390fc0ed92bc3f8eb3 Mon Sep 17 00:00:00 2001 From: test2 Date: Wed, 11 Mar 2020 14:11:53 +0200 Subject: [PATCH] readme 8 --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3f02b69..a306252 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ This is a quickstart guide of how you can typically use this *LabInstance to dep - The host file that contains addresses of connected workers can created with: > IP_ADDR=$(ip addr show | grep "inet " | grep "eth0" | awk '{print $2}') +> > nmap -sP $IP_ADDR | grep ondemand_mpi_worker | awk -F "[()]" '{ for (i=2; i /project/hosts - Compile @@ -38,13 +39,9 @@ This is a quickstart guide of how you can typically use this *LabInstance to dep sudo -u mpi mpirun -n 10 -f /project/hosts /project/mpi_hello_world -
-**Note** -{: .panel-heading} -
- - +--- +**NOTE** ```bash # scp hello wrold to all clients. sudo -u mpi for auto scp connect. see /home/mpi/.ssh @@ -53,6 +50,5 @@ while read -r line; sudo -u mpi scp /project/mpi_hello_world mpi@$line:/project/mpi_hello_world done < /project/hosts ``` +--- -
-