From 6dfef81b82a20fae07cbd2a4864aac74a734436c Mon Sep 17 00:00:00 2001 From: Rob Latham Date: Thu, 9 Jan 2020 10:58:59 -0600 Subject: [PATCH] Show expected output from Summit adding a few more lines of output now that I've actualy ran it on summit. --- ecp-am-2020/sessions/hands-on/README.md | 29 ++++++++++++++++++++----- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/ecp-am-2020/sessions/hands-on/README.md b/ecp-am-2020/sessions/hands-on/README.md index b68bbf4..a0d8cce 100644 --- a/ecp-am-2020/sessions/hands-on/README.md +++ b/ecp-am-2020/sessions/hands-on/README.md @@ -160,7 +160,11 @@ that allocation with `jsrun` To get an interactive allocation for 15 minutes: ``` -bsub -Is -W 0:15 -nnodes 2 -P CSC332 $SHELL +$ bsub -Is -W 0:15 -nnodes 2 -P CSC332 $SHELL +Job <823109> is submitted to default queue . +<> +<> +[\u@batch1.summit \W]\$ ``` You'll need to replace `-P CSC332` with the name of whichever project you're using. @@ -176,18 +180,31 @@ loaded modules and built the client and server, things should work ok. ``` -cd ~/bootcamp/ecp-am-2020/sessions/hands-on/sum -jsrun -n 1 -r 1 -g ALL_GPUS ./server & +# no need to change directories: interactive bsub drops you in the directory +# from which you executed it +$ jsrun -n 1 -r 1 -g ALL_GPUS ./server & +[1] 129086 +Server running at address ofi+verbs;ofi_rxm://10.41.0.103:49201 +``` ``` -Next, run the client, passing it the address string +Next, run the client, passing it the address string given to you by the server. ``` -jsrun -n 1 -r 1 -g ALL_GPUS ./client ofi+verbs://blah +[\u@batch1.summit \W]\$ jsrun -n 1 -r 1 -g ALL_GPUS ./client 'ofi+verbs;ofi_rxm://10.41.0.103:49201' +Computed 42 + 43 = 85 +Computed 44 + 45 = 89 +Computed 46 + 47 = 93 +Computed 48 + 49 = 97 +Got response: 42+43 = 85 +Got response: 44+45 = 89 +Got response: 46+47 = 93 +Got response: 48+49 = 97 +[1] + done jsrun -n 1 -r 1 -g ALL_GPUS ./server +[\u@batch1.summit \W]\$ exit ``` - ## Additional resources - https://docs.olcf.ornl.gov/systems/summit_user_guide.html -- 2.26.2