# (Book) Parallel Computing and Scientific Machine Learning (SciML): Methods and Applications

**URL:** https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509
**Category:** Community
**Tags:** book
**Created:** [January 31, 2022, 2:09pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509 "2022-01-31T14:09:48Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [January 31, 2022, 2:09pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/1 "2022-01-31T14:09:48Z")

</div>

> **[GitHub - SciML/SciMLBook: Parallel Computing and Scientific Machine Learning...](https://github.com/SciML/SciMLBook)**
>
> Parallel Computing and Scientific Machine Learning (SciML): Methods and Applications (MIT 18.337J/6.338J)

This repository has been forked off of the popular [GitHub - mitmath/18337: 18.337 - Parallel Computing and Scientific Machine Learning](https://github.com/mitmath/18337) course website to serve as a “book”/collection of lecture notes that can continue to grow apart from the yearly course structure. This website is something that can be depended on to stay for the known future. Additional content will continue to be compiled here and into the Julia-based Youtube channel:

> **[Parallel Computing and Scientific Machine Learning](https://www.youtube.com/channel/UCDtsHjkOEMHYPGgpKX8VOPg)**
>
> In Fall 2020 and Spring 2021, this was MIT's 18.337J/6.338J: Parallel Computing and Scientific Machine Learning course. Now these lectures and notes serve as a standalone book resource.
> 
> https://github.com/SciML/SciMLBook
> Chris Rackauckas,...

### Side Note: Looking for Website Help!!!

Note I am looking for any web developers that could help us turn this into a Franklin website with a nice sidebar and everything. Similarly this is needed for [GitHub - SciML/SciMLBenchmarks.jl: Scientific machine learning (SciML) benchmarks, AI for science, and (differential) equation solvers. Covers Julia, Python (PyTorch, Jax), MATLAB, R](https://github.com/SciML/SciMLBenchmarks.jl), which has a really terrible website:

[https://benchmarks.sciml.ai/dev/markdown/MultiLanguage/wrapper\_packages/](https://benchmarks.sciml.ai/dev/markdown/MultiLanguage/wrapper_packages/)

---

<div class="post-metadata">

### Author: ![jvaverka](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jvaverka/32/19892_2.png) [@jvaverka](https://discourse.julialang.org/u/jvaverka)
#### Post date: [January 31, 2022, 4:13pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/2 "2022-01-31T16:13:50Z")

</div>

What do you think of adoping [Books.jl](https://github.com/JuliaBooks/Books.jl) for a similar website to [Julia Data Science](https://juliadatascience.io/)? I’d be happy to take a look if this is what you’re going for.

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [January 31, 2022, 4:15pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/3 "2022-01-31T16:15:17Z")

</div>

That sounds like an interesting solution. I would love to get help converting it to something more suitable. Three years ago I didn’t plan for it to be such a thing 😅

---

<div class="post-metadata">

### Author: ![jvaverka](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jvaverka/32/19892_2.png) [@jvaverka](https://discourse.julialang.org/u/jvaverka)
#### Post date: [January 31, 2022, 4:16pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/4 "2022-01-31T16:16:50Z")

</div>

I’ll take a shot at it then 🚀

---

<div class="post-metadata">

### Author: ![rikh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rikh/32/204104_2.png) [@rikh](https://discourse.julialang.org/u/rikh)
#### Post date: [February 2, 2022, 7:29pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/5 "2022-02-02T19:29:01Z")

</div>

> **[Julia Tutorials Template - JuliaTutorialsTemplate](https://rikhuijzer.github.io/JuliaTutorialsTemplate/)**
>
> A template for building websites with Julia language content. Easily create Pluto notebooks and publish them online.

When PDFs are not needed, skip Books.jl and go for PlutoStaticHTML.jl which is the basis for the Julia tutorials template. It’s easier to use, more reliable and has better parallel evaluation.

---

<div class="post-metadata">

### Author: ![jvaverka](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jvaverka/32/19892_2.png) [@jvaverka](https://discourse.julialang.org/u/jvaverka)
#### Post date: [February 20, 2022, 6:21am UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/6 "2022-02-20T06:21:10Z")

</div>

## TL;DR

Finally came up with a clever way to do this with minimal changes to the lecture material. [Check it out](https://jvaverka.github.io/NewSciMLBook/)!

If this looks good then I can add the rest of the lectures and be done.

## What I Did

Each Julia Markdown Document gets `weave`-d with a custom `md2html` template, and the generated output is used to build the page along with all other layout components (such as head, nav bar, and foot) through the `Franklin.jl` build process.

This seems to be the best route because it allows the lecture notes to remain untouched (except a couple additions to the front-matter). I considered using `Books.jl`, but this requires fairly significant changes to every code block. Converting every `*.jmd` to a Literate.jl script would take less time and use the builtin `Franklin.jl` support, but I decided not to spend time converting everything. These other routes are of course options, but I think this choice achieves a happy medium of clean site and minimal work. Any desired changes should be possible with some CSS tweaks.

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [February 20, 2022, 12:20pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/7 "2022-02-20T12:20:33Z")

</div>

Wow, that looks great! I think the template on the margins for the sidebar are a little messed up, but other than that it looks good to go.

---

<div class="post-metadata">

### Author: ![yewalenikhil65](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yewalenikhil65/32/26873_2.png) [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)
#### Post date: [February 20, 2022, 2:04pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/8 "2022-02-20T14:04:48Z")

</div>

Awesome ! Also if we could bold the headings if would look nice

---

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [February 20, 2022, 3:03pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/9 "2022-02-20T15:03:21Z")

</div>

> [@ChrisRackauckas](#):
>
> I think the template on the margins for the sidebar are a little messed up

The navigation sidebar on the left should not move when the page scrolls up or down.

---

<div class="post-metadata">

### Author: ![jvaverka](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jvaverka/32/19892_2.png) [@jvaverka](https://discourse.julialang.org/u/jvaverka)
#### Post date: [February 21, 2022, 7:58pm UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/10 "2022-02-21T19:58:01Z")

</div>

Got the [site](https://jvaverka.github.io/NewSciMLBook/) to a place I am happy with. Any other thoughts or feedback?

Notes for lectures 1 & 12 need some attention, but everything else is pretty much done.

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [February 22, 2022, 12:01am UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/11 "2022-02-22T00:01:01Z")

</div>

This looks fantastic! What’s the issue with those two lectures?

I think a button to get to the source (Github) would be good to add.

---

<div class="post-metadata">

### Author: ![jvaverka](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jvaverka/32/19892_2.png) [@jvaverka](https://discourse.julialang.org/u/jvaverka)
#### Post date: [February 26, 2022, 2:09am UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/12 "2022-02-26T02:09:02Z")

</div>

> [@ChrisRackauckas](#):
>
> I think a button to get to the source (Github) would be good to add.

Agreed. Done. In more than one place to make it easy to find.

> [@ChrisRackauckas](#):
>
> What’s the issue with those two lectures?

Nothing major. Lecture 1 just doesn’t have _notes_, but that’s no problem.  
And Lecture 12 has a link to a PDF, but I couldn’t find an associated weave file. It is not a stopper, just won’t have an entry in the _Notes_ nav bar.

---

<div class="post-metadata">

### Author: ![jvaverka](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jvaverka/32/19892_2.png) [@jvaverka](https://discourse.julialang.org/u/jvaverka)
#### Post date: [February 26, 2022, 2:37am UTC](https://discourse.julialang.org/t/book-parallel-computing-and-scientific-machine-learning-sciml-methods-and-applications/75509/13 "2022-02-26T02:37:41Z")

</div>

[Ready](https://github.com/SciML/SciMLBook/pull/37) to be merged when you are.
