Commit e490cfb1 authored by Philip Carns's avatar Philip Carns

working bake hands-on, sans documentation

parent e8afab7f
# bake hands-on exercise
The purpose of this example is to demonstrate usage of the Bake microservice
on Summit.
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), and for more information about the Bake microservice see the [Bake
project repository](https://xgitlab.cels.anl.gov/sds/bake).
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
#BSUB -P CSC332
#BSUB -J bake
#BSUB -o bake.o%J
#BSUB -J bake-nvme
#BSUB -o bake-nvme.o%J
#BSUB -W 10
#BSUB -nnodes 2
#BSUB -alloc_flags NVME
jsrun -n 1 -r 1 -g ALL_GPUS ./bake-server.sh &
jsrun -n 1 -r 1 -g ALL_GPUS ./bake-server-nvme.sh &
jsrun -n 1 -r 1 -g ALL_GPUS ./bake-client.sh &
#!/bin/bash
SCRATCHDIR="/gpfs/alpine/`echo $LSB_PROJECT_NAME | tr '[:upper:]' '[:lower:]'`/scratch/$USER"
bake-mkpool -s 100M /dev/shm/bake.dat
bake-server-daemon verbs:// /dev/shm/bake.dat -f $SCRATCHDIR/addr.dat -p
strings /dev/shm/bake.dat
#!/bin/bash
#BSUB -P CSC332
#BSUB -J bake-tmpfs
#BSUB -o bake-tmpfs.o%J
#BSUB -W 10
#BSUB -nnodes 2
#BSUB -alloc_flags NVME
jsrun -n 1 -r 1 -g ALL_GPUS ./bake-server-tmpfs.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