Skip to content

Commit

Permalink
add strong scaling and throughput scripts for Branson
Browse files Browse the repository at this point in the history
  • Loading branch information
gshipman committed May 16, 2024
1 parent aca2984 commit 55a0b6b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions utils/branson/do_strong_scaling.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export CALI_CONFIG=sample-report

cp ../inputs/3D_hohlraum_single_node_cpu.xml .
for s in 10 66 200
do
sed -i 's/<photons>.*<\/photons>/<photons>'${s}'000000\<\/photons>/g' 3D_hohlraum_single_node_cpu.xml
#4 12 16 24 32 48 #4 8 16 32 36 64 72
for i in 4 12 16 24 32 48 96 192
do
grep photons 3D_hohlraum_single_node_cpu.xml
#mpirun -mca coll basic,self,libnbc -n $i ./BRANSON ./3D_hohlraum_single_node_cpu.xml | tee run.$s.$i.out
srun -n $i -m block:block --hint=nomultithread ./BRANSON ./3D_hohlraum_single_node_cpu.xml | tee run.$s.$i.out
done
done
8 changes: 8 additions & 0 deletions utils/branson/do_throughput.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cp ../inputs/3D_hohlraum_single_node_gpu.xml .
for s in 1 2 3 4 5 6 7 8 9 10 20 30 40 50 66 100 133 200 500 1000 2000 4000 5000
do
sed -i 's/<photons>.*<\/photons>/<photons>'${s}'00000\<\/photons>/g' 3D_hohlraum_single_node_gpu.xml
grep photons 3D_hohlraum_single_node_gpu.xml
#mpirun -np 1 ./BRANSON ./3D_hohlraum_single_node_gpu.xml | tee run.$s.out
srun -n 1 ./BRANSON ./3D_hohlraum_single_node_gpu.xml | tee run.$s.out
done

0 comments on commit 55a0b6b

Please sign in to comment.