Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Julia from environment.yml file #193

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/source/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,13 @@ git lfs install
## ReEDS2PRAS, julia, and stress periods setup
Since ReEDS uses stress periods by default, julia will need to be installed and set up to run the model. To get julia and stress periods set up:
1. Install Julia. There are different procedures for mac/linux and windows.
1. [mac/linux]: Julia is included in the conda environment so you should be all set.
1. [mac/linux]: After installing the `reeds2` environment, execute the following commands.

```bash
$ conda activate reeds2
(reeds2) $ conda install "julia>=1.8"
```

2. [windows]: Install Julia from [https://julialang.org/downloads/](https://julialang.org/downloads/).
2. From the ReEDS-2.0 directory, run `julia --project=. instantiate.jl`

Expand All @@ -220,7 +226,6 @@ When setting up julia on Windows, you may run into some issues when running `jul
2. Re-run `julia --project=. instantiate.jl`



If that doesn't resolve the issue, the following may help:
1. If you previously installed julia, uninstall it: `winget uninstall julia`

Expand Down
5 changes: 0 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ dependencies:
- gitpython=3.1 # for complete run metadata
- ipykernel=6.25 # for interactive python in VS Code
- ipywidgets=8.0 # for jupyter notebooks
## vvv Keep julia here if you're installing on the HPC.
## vvv If you're installing on a local machine, it's suggested to comment out
## vvv julia and install directly from https://julialang.org/downloads/.
## vvv If you're on Windows, you MUST comment out julia and install directly.
- julia=1.8 # for PRAS and stress periods
## ^^^
- mapclassify=2.5 # more mapping tools
- matplotlib=3.7 # for plots
Expand Down
Loading