Commit ef718b68 authored by Philip Carns's avatar Philip Carns

draft bake example

- doesn't quite work
parent 47c1b5b7
# 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)
#!/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`
#!/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
#!/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 &
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