Skip to content

Commit

Permalink
fix non-interactive conda; fix #38
Browse files Browse the repository at this point in the history
  • Loading branch information
tavareshugo committed Jan 26, 2024
1 parent caaa019 commit 4ec240b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion materials/04-software.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,11 @@ To load environments in a shell script that is being submitted to SLURM, you nee
For example, to load the `scipy` environment we created, this would be the code:

```bash
# Always add this command to your scripts
# Always add these two commands to your scripts
eval "$(conda shell.bash hook)"
source $(mamba info --base)/etc/profile.d/mamba.sh

# then you can activate the environment
mamba activate scipy
```

Expand Down

0 comments on commit 4ec240b

Please sign in to comment.