Skip to content

Commit

Permalink
update parthenon nx values
Browse files Browse the repository at this point in the history
  • Loading branch information
gshipman committed Oct 18, 2023
1 parent 660a4c5 commit 467354e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions doc/sphinx/03_vibe/do_cpu_throughput.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ count=${NP}

#BEGIN Do not change the following for official benchmarking
NXB=16
NLIM=10
NLIM=250
NLVL=3
#END

Expand All @@ -33,7 +33,7 @@ TIMING_FILE_NAME="cpu_throughput.csv"
EXEC=./burgers-benchmark # executable
INP=../../../benchmarks/burgers/burgers.pin

HEADER="No. Cores, Actual"
HEADER="No. Cores, Size, Actual"
echo "Saving timing to ${TIMING_FILE_NAME}"
echo "${HEADER}"
echo "${HEADER}" > ${TIMING_FILE_NAME}
Expand All @@ -46,14 +46,14 @@ for NX in 32 64 96 128 160 192; do
outfile=$(printf "strong-scale-%d-%d.out" ${NX} ${count})
errfile=$(printf "strong-scale-%d-%d.err" ${NX} ${count})
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/nx3=${NXB} parthenon/meshblock/nx3=${NXB} parthenon/time/nlim=${NLIM} parthenon/mesh/numlevel=${NLVL}"
CMD="srun --cpu-bind=ldoms -n ${NP} -c ${NT} -o ${outfile} -e ${errfile} ${ARGS}"
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}"
CMD="srun -n ${NP} --hint=nomultithread -o ${outfile} -e ${errfile} ${ARGS}"
echo ${CMD}
${CMD}
wait
zc=$(grep 'zone-cycles/wallsecond = ' ${outfile} | cut -d '=' -f 2 | xargs)
echo ${zc}
OUTSTR="${count}, ${zc}"
OUTSTR="${count},${NX},${zc}"
echo "${OUTSTR}"
echo "${OUTSTR}" >> ${TIMING_FILE_NAME}
i=$((${i} + 1))
Expand Down
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/nx3=${NXB} parthenon/meshblock/nx3=${NXB} parthenon/time/nlim=${NLIM} parthenon/mesh/numlevel=${NLVL}"
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}"
CMD="${ARGS} | tee ${outfile}"
echo ${CMD}
${ARGS} | tee ${outfile}
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/03_vibe/do_strong_scaling_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for count in 8 32 56 88 112; do
outfile=$(printf "strong-scale-%d.out" ${count})
errfile=$(printf "strong-scale-%d.err" ${count})
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/nx3=${NXB} parthenon/meshblock/nx3=${NXB} parthenon/time/nlim=${NLIM} parthenon/mesh/numlevel=${NLVL}"
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}"
CMD="srun -n ${count} --hint=nomultithread -o ${outfile} -e ${errfile} ${ARGS}"
echo ${CMD}
${CMD}
Expand Down
2 changes: 1 addition & 1 deletion sparta
Submodule sparta updated 169 files
2 changes: 1 addition & 1 deletion trilinos
Submodule trilinos updated 1557 files
2 changes: 1 addition & 1 deletion utils/pavilion
Submodule pavilion updated 81 files
+0 −30 .github/workflows/demo.yml
+1 −24 .github/workflows/unittests.yml
+0 −2 .gitignore
+0 −3 .gitmodules
+0 −24 INSTALLING.md
+4 −8 RELEASE.txt
+2 −14 bin/pav
+61 −57 bin/setup_pav_deps
+2 −26 docs/advanced.rst
+1 −1 docs/basics.rst
+19 −2 docs/install.rst
+1 −1 docs/plugins/basics.rst
+3 −3 docs/plugins/sys_vars.rst
+0 −12 examples/README.md
+1 −3 examples/demo/.gitignore
+4 −88 examples/demo/README.md
+0 −1 examples/demo/demo_github_workflow.yml
+0 −45 examples/demo/hosts/demo_host.yaml
+0 −19 examples/demo/modes/sample_10_perc.yaml
+0 −7 examples/demo/os/README.md
+3 −5 examples/demo/pavilion.yaml
+0 −7 examples/demo/plugins/README.md
+0 −20 examples/demo/plugins/sys_name.py
+0 −3 examples/demo/plugins/sys_name.yapsy-plugin
+0 −30 examples/demo/series/all_tests.yaml
+0 −6 examples/demo/test_src/README.md
+0 −13 examples/demo/test_src/built_example/buildit.yaml
+0 −7 examples/demo/test_src/built_example/hello_world.c
+0 −88 examples/demo/tests/advanced.yaml
+0 −1 examples/demo/tests/buildit.yaml
+1 −1 examples/demo/tests/demo.yaml
+0 −1 lib/hostlist.py
+2 −1 lib/pavilion/arguments.py
+3 −3 lib/pavilion/builder.py
+2 −2 lib/pavilion/commands/_run.py
+1 −1 lib/pavilion/commands/build.py
+3 −3 lib/pavilion/commands/config.py
+2 −2 lib/pavilion/commands/graph.py
+2 −2 lib/pavilion/commands/list_cmd.py
+0 −43 lib/pavilion/commands/log.py
+1 −1 lib/pavilion/commands/ls.py
+9 −16 lib/pavilion/commands/result.py
+2 −2 lib/pavilion/commands/run.py
+3 −3 lib/pavilion/commands/show.py
+1 −1 lib/pavilion/commands/view.py
+5 −8 lib/pavilion/config.py
+8 −17 lib/pavilion/errors.py
+2 −2 lib/pavilion/expression_functions/base.py
+0 −16 lib/pavilion/expression_functions/core.py
+2 −2 lib/pavilion/filters.py
+17 −34 lib/pavilion/parsers/expressions.py
+1 −1 lib/pavilion/resolver/proto_test.py
+4 −4 lib/pavilion/resolver/request.py
+2 −3 lib/pavilion/resolver/resolver.py
+1 −0 lib/pavilion/result/evaluations.py
+1 −1 lib/pavilion/result/parse.py
+5 −5 lib/pavilion/result_parsers/base_classes.py
+1 −1 lib/pavilion/result_parsers/filecheck.py
+7 −7 lib/pavilion/result_parsers/json.py
+4 −4 lib/pavilion/schedulers/advanced.py
+72 −34 lib/pavilion/schedulers/config.py
+6 −26 lib/pavilion/schedulers/plugins/flux.py
+84 −9 lib/pavilion/schedulers/plugins/slurm.py
+4 −4 lib/pavilion/schedulers/scheduler.py
+2 −4 lib/pavilion/series/series.py
+2 −2 lib/pavilion/series/test_set.py
+1 −1 lib/pavilion/sys_vars/sys_name.py
+10 −10 lib/pavilion/test_config/file_format.py
+1 −1 lib/pavilion/test_run/test_run.py
+8 −8 lib/pavilion/variables.py
+1 −0 lib/pavilion/wget.py
+0 −1 lib/sub_repos/python-hostlist
+3 −3 lib/yaml_config/structures.py
+0 −3 requirements.txt
+0 −1 test/tests/expression_function_tests.py
+7 −28 test/tests/log_cmd_tests.py
+3 −76 test/tests/result_tests.py
+4 −4 test/tests/sched_tests.py
+4 −5 test/tests/slurm_tests.py
+5 −71 test/tests/style_tests.py
+0 −9 test/utils/check_pav_deps.py

0 comments on commit 467354e

Please sign in to comment.