Skip to content

Commit

Permalink
minor changes, replaced numpy with black for speed
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyJacob1 committed Apr 18, 2024
1 parent c756071 commit 312f5be
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions conda.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

- Conda is an open source package and environment management system.
- If you are installing Conda on your local machine you can pick between Miniconda and Anaconda.
- pre-installed on Savio
- Conda can manage packages for a wide variety of programming languages but is most often used with Python.
- works well across multiple platforms (macOS, Windows, Linux)

Expand Down Expand Up @@ -163,7 +164,7 @@ channels:
- conda-forge
- defaults
dependencies:
- numpy
- black
- python=3.10
- pip:
- flake8
Expand Down Expand Up @@ -205,9 +206,9 @@ conda create --prefix /global/scratch/users/jejacob/conda/scratch_myenv python=3
```
This environment can be activated from anywhere on Savio like such:
```bash
source activate /global/scratch/users/jejacob/envs/scratch_myenv
source activate /global/scratch/users/jejacob/conda/scratch_myenv
```
Lastly to expedite the proccess you can move your `.conda` directory itself to scratch and using a Symbolic Link to preserve the file paths
Lastly to expedite the proccess you can move your `.conda` directory itself to scratch and use a Symbolic Link to preserve the file paths
```bash
mv /global/home/users/user_name/.conda /global/scratch/users/user_name/

Expand All @@ -232,7 +233,7 @@ jupyter kernelspec list
```
And to remove one:
```bash
jupyter kernelspec remove <kernel-name>
jupyter kernelspec remove test_env
```

# .condarc For Configuration
Expand Down

0 comments on commit 312f5be

Please sign in to comment.