Skip to content

Commit

Permalink
add gpu throughput script
Browse files Browse the repository at this point in the history
  • Loading branch information
gshipman committed Mar 17, 2024
1 parent 88c9d6e commit 25d782d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/sphinx/03_vibe/do_gpu_throughput.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for NX in 32 64 96 128 160 192; do
echo "Mesh base size = ${NX}"
outfile=$(printf "gpu-throughput-%d.out" ${NX})
echo "saving to output file ${outfile}"
ARGS="${EXEC} -i ${INP} parthenon/mesh/nx1=${NX} parthenon/mesh/nx2=${NX} parthenon/mesh/nx3=${NX} parthenon/meshblock/nx1=${NXB} parthenon/meshblock/nx2=${NXB} parthenon/meshblock/nx3=${NXB} parthenon/time/nlim=${NLIM} parthenon/mesh/numlevel=${NLVL}"
ARGS="mpirun -n 1 ${EXEC} -i ${INP} parthenon/mesh/nx1=${NX} parthenon/mesh/nx2=${NX} parthenon/mesh/nx3=${NX} parthenon/meshblock/nx1=${NXB} parthenon/meshblock/nx2=${NXB} parthenon/meshblock/nx3=${NXB} parthenon/time/nlim=${NLIM} parthenon/mesh/numlevel=${NLVL}"
CMD="${ARGS} | tee ${outfile}"
echo ${CMD}
${ARGS} | tee ${outfile}
Expand Down

0 comments on commit 25d782d

Please sign in to comment.