diff --git a/notebooks/01_Introducing_Python.ipynb b/notebooks/01_Introducing_Python.ipynb index e328560..df12cab 100644 --- a/notebooks/01_Introducing_Python.ipynb +++ b/notebooks/01_Introducing_Python.ipynb @@ -32,7 +32,7 @@ "\n", "Matt Knepley and Aron Ahmadia\n", "\n", - "[![Creative Commons License](./files/figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) " + "[![Creative Commons License](../figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) " ] }, { @@ -515,7 +515,7 @@ "and also includes motivating material from \n", "[Nathan Collier](http://www.mendeley.com/profiles/nathan-collier/), KAUST.\n", "\n", - " \n" + " \n" ] }, { @@ -598,7 +598,7 @@ "reproducible). However, beware that there is no end to the number\n", "of different ways to do essentially the same thing. \n", "\n", - "![Recall we want to script to SAVE time](./files/figures/careful.png)\n", + "![Recall we want to script to SAVE time](../figures/careful.png)\n", "\n", "> Image credit [Bruno Oliveira](https://plus.google.com/102451193315916178828/posts/MGxauXypb1Y)" ] @@ -696,7 +696,7 @@ "\n", "### Stiffness matrix computation\n", "\n", - "![Stiffness matrix](./files/figures/fem.png)\n" + "![Stiffness matrix](../figures/fem.png)\n" ] }, { @@ -714,7 +714,7 @@ "\n", "### Python parses a datafile and makes plots of current progress\n", "\n", - "![Log](./files/figures/log.png)\n" + "![Log](../figures/log.png)\n" ] }, { @@ -732,7 +732,7 @@ "\n", "### Nonlinear, time dependent problem\n", "\n", - "![NonLinear problem](./files/figures/dsw.png)" + "![NonLinear problem](../figures/dsw.png)" ] }, { @@ -750,7 +750,7 @@ "\n", "### Method for fitting surface to data\n", "\n", - "![Prototypes](./files/figures/molt.png)\n" + "![Prototypes](../figures/molt.png)\n" ] }, { @@ -769,7 +769,7 @@ "\n", "### Python manages floors and columns\n", "\n", - "![Structural program](./files/figures/struct.png)" + "![Structural program](../figures/struct.png)" ] }, { @@ -787,7 +787,7 @@ "\n", "### Python runs C code, post-processes the results, and generates a LaTeX table\n", "\n", - "![Result Generation](./files/figures/dpg.png)\n" + "![Result Generation](../figures/dpg.png)\n" ] }, { @@ -867,8 +867,8 @@ "collapsed": false, "input": [ "import math\n", - "infile = \"files/examples/data/numbers\"\n", - "outfile = \"files/examples/data/f_numbers\"\n", + "infile = \"../examples/data/numbers\"\n", + "outfile = \"../examples/data/f_numbers\"\n", "\n", "f = open(infile,'r')\n", "g = open(outfile,'w')\n", @@ -994,7 +994,7 @@ "import re\n", "pattern1 = \"@Book{(.*),\"\n", "pattern2 = \"\\s+title\\s+=\\s+{(.*)},\"\n", - "for line in file('files/examples/data/python.bib'):\n", + "for line in file('../examples/data/python.bib'):\n", " match = re.search(pattern1,line)\n", " if match: \n", " print \"Found a book with the tag '%s'\" % match.group(1)\n", diff --git a/notebooks/02_Speeding_Python.ipynb b/notebooks/02_Speeding_Python.ipynb index 4dfc098..6696a6c 100644 --- a/notebooks/02_Speeding_Python.ipynb +++ b/notebooks/02_Speeding_Python.ipynb @@ -28,7 +28,7 @@ "\n", "Matt Knepley and Aron Ahmadia\n", "\n", - "[![Creative Commons License](./files/figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) " + "[![Creative Commons License](../figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) " ] }, { @@ -265,7 +265,7 @@ "* single data-type objects\n", "* powerful array scalar types\n", "\n", - "![three fundamental](./files/figures/numpy/threefundamental.png)\n", + "![three fundamental](../figures/numpy/threefundamental.png)\n", "\n" ] }, diff --git a/notebooks/03.1_Distributed_Computing.ipynb b/notebooks/03.1_Distributed_Computing.ipynb index 06eba51..817f36a 100644 --- a/notebooks/03.1_Distributed_Computing.ipynb +++ b/notebooks/03.1_Distributed_Computing.ipynb @@ -20,7 +20,7 @@ "
\n", "*[This tutorial](https://github.com/pyHPC/pyhpc-tutorial) has been collectively developed by the [PyHPC Community](https://github.com/pyHPC) and is available for reuse under a CC BY license. \n", "All code samples are available for reuse under the terms of the [MIT license](http://opensource.org/licenses/MIT).* \n", - "[![Creative Commons License](/files/figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US)
" + "[![Creative Commons License](../figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US)" ] }, { @@ -885,7 +885,7 @@ }, "source": [ "## Basic Collectives: Broadcast, Scatter, and Gather\n", - "![](/files/figures/broadcast_scatter_gather.png)\n" + "![](../figures/broadcast_scatter_gather.png)\n" ] }, { @@ -1071,7 +1071,7 @@ "source": [ "## Reduce and Scan\n", "\n", - "![](/files/figures/reduce_scan.png)\n" + "![](../figures/reduce_scan.png)\n" ] }, { diff --git a/notebooks/03_Scaling_Python.ipynb b/notebooks/03_Scaling_Python.ipynb index 9012295..050e82c 100644 --- a/notebooks/03_Scaling_Python.ipynb +++ b/notebooks/03_Scaling_Python.ipynb @@ -33,7 +33,7 @@ "\n", "Matt Knepley and Aron Ahmadia\n", "\n", - "[![Creative Commons License](./files/figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) " + "[![Creative Commons License](../figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) " ] }, { diff --git a/notebooks/Appendix_01_Resources.ipynb b/notebooks/Appendix_01_Resources.ipynb index 1ea0d92..0d33693 100644 --- a/notebooks/Appendix_01_Resources.ipynb +++ b/notebooks/Appendix_01_Resources.ipynb @@ -36,9 +36,9 @@ "Chief Technology Officer \n", "RunMyCode.org\n", "\n", - "[![Creative Commons License](/files/figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) \n", + "[![Creative Commons License](../figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) \n", "\n", - "![KAUST Logo](/files/figures/kaust.png)" + "![KAUST Logo](../figures/kaust.png)" ] }, { diff --git a/notebooks/Appendix_02_PETSc4Py.ipynb b/notebooks/Appendix_02_PETSc4Py.ipynb index 7baaccc..277a671 100644 --- a/notebooks/Appendix_02_PETSc4Py.ipynb +++ b/notebooks/Appendix_02_PETSc4Py.ipynb @@ -31,9 +31,9 @@ "Chief Technology Officer \n", "RunMyCode.org\n", "\n", - "[![Creative Commons License](/files/figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) \n", + "[![Creative Commons License](../figures/creative_commons_logo.png)](http://creativecommons.org/licenses/by/3.0/deed.en_US) \n", "\n", - "![KAUST Logo](/files/figures/kaust.png)" + "![KAUST Logo](../figures/kaust.png)" ] }, { diff --git a/notebooks/files b/notebooks/files deleted file mode 120000 index a96aa0e..0000000 --- a/notebooks/files +++ /dev/null @@ -1 +0,0 @@ -.. \ No newline at end of file