{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import util\n",
"import os\n",
"from IPython.core.display import Markdown\n",
"benchmark = 'dodecahedron'"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"text/markdown": [
"# dodecahedron benchmark\n",
"\n",
"The dodecahedron benchmark runs a system of $131,072$ dodecahedra using hard particle Monte Carlo.\n",
"This is a synthetic benchmark of 3D convex polyhedra performance.\n",
"\n",
"\n",
"\n",
"Parameters:\n",
"\n",
"* $N = 131,072$\n",
"* Hard particle Monte Carlo\n",
" * Vertices: *see dodecahdron/bmark.py*\n",
" * $d = 0.3$\n",
" * $a = 0.26$\n",
" * $n_\\mathrm{select} = 4$\n"
],
"text/plain": [
""
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"Markdown(open(os.path.join(benchmark, 'README.md'), 'r').read())"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Performance data\n",
"\n",
"Performance results are reported in hours to complete ten million Monte Carlo sweeps, where one sweep is N trial moves."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"text/markdown": [
"| Date | System | Compiler | CUDA | HOOMD | Precision | N | CPU | GPU | Ranks | Time for 10e6 steps (hours)|\n",
"|------|--------|----------|------|-------|-----------|---|-----|-----|-------|---------------:|\n",
"| 2018/01/15 | comet | gcc 4.9.2 | 8.0 | 2.2.2 | double | 131,072 | Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz | **Tesla P100-PCIE-16GB** | 1 | 7.28 |\n",
"| 2016/10/23 | psg | gcc 4.8.5 | 8.0 | 2.1.1 | double | 131,072 | Intel(R) Xeon(R) CPU E5-2698 v3 @ 2.30GHz | **Tesla P100-PCIE-16GB** | 1 | 6.22 |\n",
"| 2016/10/23 | psg | gcc 4.8.5 | 8.0 | 2.1.1 | double | 131,072 | Intel(R) Xeon(R) CPU E5-2698 v3 @ 2.30GHz | **Tesla M40 24GB** | 1 | 17.33 |\n",
"| 2016/10/23 | psg | gcc 4.8.5 | 8.0 | 2.1.1 | double | 131,072 | Intel(R) Xeon(R) CPU E5-2698 v3 @ 2.30GHz | **Tesla K80** | 1 | 25.66 |\n",
"| 2016/10/23 | psg | gcc 4.8.5 | 8.0 | 2.1.1 | double | 131,072 | Intel(R) Xeon(R) CPU E5-2698 v3 @ 2.30GHz | **Tesla K40m** | 1 | 30.98 |\n"
],
"text/plain": [
""
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"rows = util.read_rows(benchmark)\n",
"table = util.make_table(rows)\n",
"Markdown(table)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"The raw code for this IPython notebook is by default hidden for easier reading.To toggle on/off the raw code, click here."
],
"text/plain": [
""
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from IPython.display import HTML\n",
"\n",
"#Hide code blocks\n",
"HTML('''\n",
"The raw code for this IPython notebook is by default hidden for easier reading.To toggle on/off the raw code, click here.''')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
}
},
"nbformat": 4,
"nbformat_minor": 1
}