Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mochi-boot-camp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
mochi-boot-camp
Commits
ef718b68
Commit
ef718b68
authored
Feb 02, 2020
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
draft bake example
- doesn't quite work
parent
47c1b5b7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
0 deletions
+39
-0
ecp-am-2020/sessions/hands-on/bake/README.md
ecp-am-2020/sessions/hands-on/bake/README.md
+8
-0
ecp-am-2020/sessions/hands-on/bake/bake-client.sh
ecp-am-2020/sessions/hands-on/bake/bake-client.sh
+10
-0
ecp-am-2020/sessions/hands-on/bake/bake-server.sh
ecp-am-2020/sessions/hands-on/bake/bake-server.sh
+9
-0
ecp-am-2020/sessions/hands-on/bake/bake.bsub
ecp-am-2020/sessions/hands-on/bake/bake.bsub
+11
-0
ecp-am-2020/sessions/hands-on/bake/example.dat
ecp-am-2020/sessions/hands-on/bake/example.dat
+1
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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