Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Grid Science Winter School Julia Tutorial

logo

This repository contains the materials for a minimalist introduction to Julia, JuMP and InfrastructureModels packages. The tutorial was originally developed for the Los Alamos National Laboratory Grid Science Winter School, January 7-11, 2019.

This README will walk you through how to install Julia and IJulia.

Install Julia

To get started, you first need to install Julia.

Windows 7 Users: as instructed on the downloads page, you will need to install at least version 3.0 of the Windows Management Framework.

Download the materials

Next, you need to download a copy of these materials.

  • If you have git installed, (after cd'ing to an appropriate directory) run
git clone https://github.com/lanl-ansi/tutorial-grid-science
  • If you don't have git installed (i.e., the above command fails), download this zip file. Once downloaded, unzip it to an appropriate location.

Open Julia

Now open Julia, either by typing julia at a terminal, or from where ever you installed it. Once open, you should be faced with the Julia REPL that looks like this:

Julia REPL

Install Jupyter

Now we need to install Jupyter. In the Julia REPL, run the following commands (this may take a little bit of time):

] add IJulia

Open a Jupyter notebook

Okay, last step, let's launch a Jupyter notebook! Open a Julia REPL and then run:

using IJulia
IJulia.notebook(dir="/path/to/tutorial-grid-science")

Note: we've had some reports that dir="~" fails on some NIX machines. Use an absolute path instead.

If all goes well, a browser window will open that looks like this:

jupyer_notebook

To get started on the content portion of the tutorials, click on the first notebook entitled Class I - An introduction to Julia.

About

Julia Tutorial Materials for the Grid Science Tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published