Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
mochi-boot-camp
Commits
ef718b68
Commit
ef718b68
authored
Feb 02, 2020
by
Philip Carns
Browse files
draft bake example
- doesn't quite work
parent
47c1b5b7
Changes
5
Hide whitespace changes
Inline
Side-by-side
ecp-am-2020/sessions/hands-on/bake/README.md
0 → 100644
View file @
ef718b68
# bake hands-on exercise
The purpose of this example is to demonstrate usage of the Bake microservice
on Summit.
For information about local storage (NVMe) on Summit compute nodes, see
[
the OLCF burst buffer documentation
](
https://docs.olcf.ornl.gov/systems/summit_user_guide.html#burst-buffer
)
ecp-am-2020/sessions/hands-on/bake/bake-client.sh
0 → 100755
View file @
ef718b68
#!/bin/bash
SCRATCHDIR
=
"/gpfs/alpine/
`
echo
$LSB_PROJECT_NAME
|
tr
'[:upper:]'
'[:lower:]'
`
/scratch/
$USER
"
# wait for server to start
sleep
10
bake-copy-to example.dat
`
$SCRATCHDIR
/addr.dat
`
1 1
bake-shutdown
`
$SCRATCHDIR
/addr.dat
`
ecp-am-2020/sessions/hands-on/bake/bake-server.sh
0 → 100755
View file @
ef718b68
#!/bin/bash
SCRATCHDIR
=
"/gpfs/alpine/
`
echo
$LSB_PROJECT_NAME
|
tr
'[:upper:]'
'[:lower:]'
`
/scratch/
$USER
"
bake-mkpool
-s
100M /mnt/bb/
$USER
/bake.dat
bake-server-daemon verbs:// /mnt/bb/
$USER
/bake.dat
-f
$SCRATCHDIR
/addr.dat
strings /mnt/bb/
$USER
/bake.dat
ecp-am-2020/sessions/hands-on/bake/bake.bsub
0 → 100644
View file @
ef718b68
#!/bin/bash
#BSUB -P CSC332
#BSUB -J bake
#BSUB -o bake.o%J
#BSUB -W 10
#BSUB -nnodes 2
jsrun
-n
1
-r
1
-g
ALL_GPUS ./bake-server.sh &
jsrun
-n
1
-r
1
-g
ALL_GPUS ./bake-client.sh &
ecp-am-2020/sessions/hands-on/bake/example.dat
0 → 100644
View file @
ef718b68
Hello world.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment