Commit 6dfef81b authored by Rob Latham's avatar Rob Latham

Show expected output from Summit

adding a few more lines of output now that I've actualy ran it on
summit.
parent 4d4f7144
...@@ -160,7 +160,11 @@ that allocation with `jsrun` ...@@ -160,7 +160,11 @@ that allocation with `jsrun`
To get an interactive allocation for 15 minutes: 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 <batch>.
<<Waiting for dispatch ...>>
<<Starting on batch1>>
[\u@batch1.summit \W]\$
``` ```
You'll need to replace `-P CSC332` with the name of whichever project you're using. 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. ...@@ -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 # no need to change directories: interactive bsub drops you in the directory
jsrun -n 1 -r 1 -g ALL_GPUS ./server & # 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 ## Additional resources
- https://docs.olcf.ornl.gov/systems/summit_user_guide.html - https://docs.olcf.ornl.gov/systems/summit_user_guide.html
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment