Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
doku:python [2023/06/19 08:50] katrindoku:python [2023/06/22 07:13] katrin
Line 38: Line 38:
 </code> </code>
  
-You can now start developing and even just use the environment in a slurm script+You can now start developing and even use the environment in a slurm script
  
 <code> <code>
Line 51: Line 51:
  
 # see "Setup Conda" above or consult "module avail miniconda3" to get the right package name # see "Setup Conda" above or consult "module avail miniconda3" to get the right package name
-module load MINICONDA3_PACKAGE_NAME+module load miniconda3
 eval "$(conda shell.bash hook)" eval "$(conda shell.bash hook)"
 conda activate myenv conda activate myenv
Line 116: Line 116:
  
 <code bash> <code bash>
-conda init bash --dry-run --verbose | grep "# >>> conda initialize" -A 100 | grep "# <<< conda initialize" -B 100 | sed 's/+//g' > ~/.bashrc+conda init bash --dry-run --verbose | grep "# >>> conda initialize" -A 100 | grep "# <<< conda initialize" -B 100 | sed 's/+//g' >> ~/.bashrc
 source ~/.bashrc source ~/.bashrc
 </code> </code>
  • doku/python.txt
  • Last modified: 2024/03/19 14:24
  • by katrin