diff --git a/Login.md b/Accounts.md similarity index 100% rename from Login.md rename to Accounts.md diff --git a/Makefile b/Makefile index f1fa703012589f68f31f4addcbfe3519d493e044..3c16ca8dda7531c335e256b02ff0f7f5a0919b30 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,12 @@ # Typeset Markdown documentation files for GPU Hackathon Jülich into PDF # Individual PDFs for each .md will be created plus one concatenated, large PDF of all .md files. # -# Andreas Herten, March 2017 -# Note: Need cross-reffing for figures? https://github.com/lierdakil/pandoc-crossref! +# Andreas Herten, March 2017, March 2019 LC = pandoc -LCFLAGS = --latex-engine=xelatex --variable mainfont="PT Serif" +LCFLAGS = --pdf-engine=xelatex --variable mainfont="PT Serif" LCFLAGS += --highlight-style pygments -LCFLAGS += --filter convert2pdf/latex-unicode-filter.py LCFLAGS += --number-sections LCFLAGS += --variable lang:en LCFLAGS += --variable colorlinks @@ -16,25 +14,23 @@ LCFLAGS += --variable geometry:margin=1in LCFLAGS += --variable author:"Andreas Herten <a.herten@fz-juelich.de>" # SRC = $(wildcard *.md) -SRC = Login.md JURON.md JURECA.md PizDaint.md Batch-Systems.md Profiling-Nvidia_Visual_Profiler-nvprof.md Profiling-scorep-Vampir.md More.md +SRC = Accounts.md JUWELS.md JURON.md Batch-Systems.md More.md PDFS = $(SRC:.md=.pdf) all: $(PDFS) all.pdf -VPATH = convert2pdf - %.pdf: %.md Makefile - $(LC) $(LCFLAGS) -o convert2pdf/$@ $< + $(LC) $(LCFLAGS) -o pdf/$@ $< all.pdf: LCFLAGS += --toc -all.pdf: LCFLAGS += --variable title:"GPU Eurohack 2017 User Guide" -all.pdf: LCFLAGS += --variable abstract:"Some hints for participants and mentors of the GPU Hackathon 2017 at Jülich Supercomputing Centre. \textit{Hack Away!}" +all.pdf: LCFLAGS += --variable title:"GPU Eurohack 2019 User Guide" +all.pdf: LCFLAGS += --variable abstract:"Some hints for participants and mentors of the GPU Hackathon 2019 at Jülich Supercomputing Centre. \textit{Hack Away!}" all.pdf: LCFLAGS += --variable institute:"Forschungszentrum Jülich" all.pdf: LCFLAGS += --variable keywords:"GPU,CUDA,OpenACC,FZJ,JSC" all.pdf: $(SRC) Makefile - $(LC) $(LCFLAGS) -o convert2pdf/$@ $(SRC) + $(LC) $(LCFLAGS) -o pdf/$@ $(SRC) .PHONY: clean clean: - rm convert2pdf/*.pdf + rm pdf/*.pdf diff --git a/More.md b/More.md index 8fd424fbff6e42411763b427a8931a4df2ec260d..fa474f4c5aa9982a5d94c5b4ba330b404deb5f5a 100644 --- a/More.md +++ b/More.md @@ -24,6 +24,5 @@ Some useful links for further reading * Supercomputers - [JURECA](http://www.fz-juelich.de/ias/jsc/EN/Expertise/Supercomputers/JURECA/UserInfo/UserInfo_node.html) - [JURON](https://trac.version.fz-juelich.de/hbp-pcp/wiki/Public) - - [PizDaint](http://user.cscs.ch/getting_started/running_jobs/piz_daint) * Other - - [JSC Eurohack Gitlab](https://gitlab.version.fz-juelich.de/eurohack/) + - [Helmholtz GPU Hackathon Gitlab](https://gitlab.version.fz-juelich.de/gpu-hackathon/) diff --git a/README.md b/README.md index 9875aa1dff479402cc92f3afb0dfdcd1b108e2a2..f841a6094c276e781b80f416b5ae374fae048722 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,5 @@ Available documents: * [JURON Introduction](JURON.md) * [Overview of the Batch Systems](Batch-Systems.md) * [More Information and Useful Links](More.md) + +See the directory ./pdf/ for PDF version of the files, for example all.pdf. diff --git a/convert2pdf/Batch-Systems.pdf b/convert2pdf/Batch-Systems.pdf deleted file mode 100644 index f618c9ef598c3201de8d4c96871f7461d7329dfb..0000000000000000000000000000000000000000 Binary files a/convert2pdf/Batch-Systems.pdf and /dev/null differ diff --git a/convert2pdf/JURECA.pdf b/convert2pdf/JURECA.pdf deleted file mode 100644 index e06a61ebf75816c8a2858fdb26e3e0723b4a5bff..0000000000000000000000000000000000000000 Binary files a/convert2pdf/JURECA.pdf and /dev/null differ diff --git a/convert2pdf/JURON.pdf b/convert2pdf/JURON.pdf deleted file mode 100644 index acd57d8e35bd31d39dde332bd8ad88710a946e81..0000000000000000000000000000000000000000 Binary files a/convert2pdf/JURON.pdf and /dev/null differ diff --git a/convert2pdf/Login.pdf b/convert2pdf/Login.pdf deleted file mode 100644 index 08dfd4c582bc84dee40a01c0511761f1f4aa1f9e..0000000000000000000000000000000000000000 Binary files a/convert2pdf/Login.pdf and /dev/null differ diff --git a/convert2pdf/More.pdf b/convert2pdf/More.pdf deleted file mode 100644 index f36f40ae4377d0872a7acbe524fdfc9804eb25c1..0000000000000000000000000000000000000000 Binary files a/convert2pdf/More.pdf and /dev/null differ diff --git a/convert2pdf/PizDaint.pdf b/convert2pdf/PizDaint.pdf deleted file mode 100644 index 103d2747a89cdc09a490191145c50851b54a648b..0000000000000000000000000000000000000000 Binary files a/convert2pdf/PizDaint.pdf and /dev/null differ diff --git a/convert2pdf/Profiling-Nvidia_Visual_Profiler-nvprof.pdf b/convert2pdf/Profiling-Nvidia_Visual_Profiler-nvprof.pdf deleted file mode 100644 index 8461a2fe03651a2224c830d2fb2e315a477de32e..0000000000000000000000000000000000000000 Binary files a/convert2pdf/Profiling-Nvidia_Visual_Profiler-nvprof.pdf and /dev/null differ diff --git a/convert2pdf/Profiling-scorep-Vampir.pdf b/convert2pdf/Profiling-scorep-Vampir.pdf deleted file mode 100644 index 8bb771416def6a177ebb56060cc5b0bfb96542b4..0000000000000000000000000000000000000000 Binary files a/convert2pdf/Profiling-scorep-Vampir.pdf and /dev/null differ diff --git a/convert2pdf/all.pdf b/convert2pdf/all.pdf deleted file mode 100644 index 976531dd6913c6872715b2882975bcad99ac908e..0000000000000000000000000000000000000000 Binary files a/convert2pdf/all.pdf and /dev/null differ diff --git a/convert2pdf/latex-unicode-filter.py b/convert2pdf/latex-unicode-filter.py deleted file mode 100644 index 81a2e0a2a70c955e64707dd7c3ce230b4b5c51cb..0000000000000000000000000000000000000000 --- a/convert2pdf/latex-unicode-filter.py +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env python2 -# -*- coding: utf-8 -*- - -# Base source: https://github.com/mmechtley/pandoc-filter-test - -import panflute as pf - -_unicode_tex_replaces = { - u'≤': r'\leq{}', u'≥': r'\geq{}', - u'≠': r'\neq{}', u'≈': r'\approx{}', - u'×': r'\times{}', u'÷': r'\div{}', - u'±': r'\pm{}', u'·': r'\cdot{}', - u'◦': r'\circ{}', u'′': r'\prime{}', - u'∞': r'\infty{}', u'¬': r'\neg{}', - u'∧': r'\wedge{}', u'∨': r'\vee{}', - u'⊃': r'\supset{}', u'∀': r'\forall{}', - u'∈': r'\in{}', u'→': r'\rightarrow{}', - u'⊂': r'\subset{}', u'∃': r'\exists{}', - u'∉': r'\notin{}', u'⇒': r'\Rightarrow{}', - u'∪': r'\cup{}', u'∩': r'\cap{}', - u'|': r'\mid{}', u'⇔': r'\Leftrightarrow{}', - u'≃': r'\simeq{}', u'≳': r'\gtrsim{}', - u'≲': r'\lesssim{}', - - u'α': r'\alpha{}', u'β': r'\beta{}', - u'γ': r'\gamma{}', u'δ': r'\delta{}', - u'∊': r'\epsilon{}', u'ζ': r'\zeta{}', - u'η': r'\eta{}', u'ε': r'\varepsilon{}', - u'θ': r'\theta{}', u'ι': r'\iota{}', - u'κ': r'\kappa{}', u'𝜗': r'\vartheta{}', - u'λ': r'\lambda{}', u'μ': r'\mu{}', - u'ν': r'\nu{}', u'ξ': r'\xi{}', - u'π': r'\pi{}', u'ρ': r'\rho{}', - u'σ': r'\sigma{}', u'τ': r'\tau{}', - u'υ': r'\upsilon{}', u'φ': r'\phi{}', - u'χ': r'\chi{}', u'ψ': r'\psi{}', - u'ω': r'\omega{}', - u'Γ': r'\Gamma{}', u'Δ': r'\Delta{}', - u'Θ': r'\Theta{}', u'Λ': r'\Lambda{}', - u'Ξ': r'\Xi{}', u'Π': r'\Pi{}', - u'Σ': r'\Sigma{}', u'Υ': r'\Upsilon{}', - u'Φ': r'\Phi{}', u'Ψ': r'\Psi{}', - u'Ω': r'\Omega{}' -} - -def unicode_replace(elem, doc): - if hasattr(elem, 'text'): - found_chars = [key for key in _unicode_tex_replaces.keys() - if key in elem.text] - for u_char in found_chars: - elem.text = elem.text.replace( - u_char, _unicode_tex_replaces[u_char]) - if len(found_chars) and type(elem) != pf.Math: - return pf.Math(text=elem.text, format='InlineMath') - return - - -if __name__ == '__main__': - pf.toJSONFilter(unicode_replace) diff --git a/pdf/Accounts.pdf b/pdf/Accounts.pdf new file mode 100644 index 0000000000000000000000000000000000000000..4372269d49a53a601e412309276d0cd1d37aec82 Binary files /dev/null and b/pdf/Accounts.pdf differ diff --git a/pdf/Batch-Systems.pdf b/pdf/Batch-Systems.pdf new file mode 100644 index 0000000000000000000000000000000000000000..a3a9ea17772537f188b11d81cf3653f7536961fd Binary files /dev/null and b/pdf/Batch-Systems.pdf differ diff --git a/pdf/JURON.pdf b/pdf/JURON.pdf new file mode 100644 index 0000000000000000000000000000000000000000..7817af5aa94811f09a1af696ee0f3c9ae53e0656 Binary files /dev/null and b/pdf/JURON.pdf differ diff --git a/pdf/JUWELS.pdf b/pdf/JUWELS.pdf new file mode 100644 index 0000000000000000000000000000000000000000..65a264e35619920fd093e5ed47654b58fd6c70e3 Binary files /dev/null and b/pdf/JUWELS.pdf differ diff --git a/pdf/More.pdf b/pdf/More.pdf new file mode 100644 index 0000000000000000000000000000000000000000..48f3ce288d4d889f99f90264e621d73c4ad591a1 Binary files /dev/null and b/pdf/More.pdf differ diff --git a/pdf/all.pdf b/pdf/all.pdf new file mode 100644 index 0000000000000000000000000000000000000000..2d9c01feaaaa7dc0b8eebfdaed81b9d3c7229ef7 Binary files /dev/null and b/pdf/all.pdf differ