/ScientificComputing-APMTH111

Repository for AM 111: Introduction to Scientific Computing. Harvard University, Fall 2022

Primary LanguageTeXMIT LicenseMIT

SciComp-F22-AM111

Repository for AM/ES 111: Introduction to Scientific Computing (Harvard University, Fall 2022, Fall 2023)

Code examples

How to access the code examples

We store all code examples on GitHub, which allows us to version control the code. To have your own copy of the course git repo:

  1. Open your terminal and navigate to target directory

    cd your_target_directory_am111
    
  2. Clone the Git repo

    git clone https://github.com/sarah1123/SciComp-F22-AM111.git
    
  3. To access updates to the code examples use

    git pull
    

You can also use the GitHub Desktop app to keep a local copy of the repo.

Run code

  • Python (FAS On Demand): Access Jupyter notebook via the "FAS On Demand" link in the Canvas site. You can create new notebook by clicking "New -> Python 3 (ipykernel)" (and we have pre-installed most modulues needed for the course).

  • Python (local machine): Need local Python and Jupyter installation to run notebooks. See README.md in Python tutorial for more details.

  • Python (Google Colab): Click "Open in Colab" badge on the top of each .ipynb notebook to run (no need to install anything for Python to run).

If you are running the notebook on Google Colab, please make a copy of the notebook to your drive:

  • Click "Copy to Drive"
  • Or navigate to "File -> Save a copy in Drive"
  • Or navigate to "File -> Download" and save a local copy Or else your changes in the playground mode will get lost after you close the page.

Resources