...
- ssh to an interactive cluster (after this step ssh <UNIX_USERNAME>@s3dflogin.slac.stanford.edu)
Code Block ssh iana
- run the miniconda setup script
(optional) You can also use mamba instead of conda for a faster time creating environments. Mamba is used by first installing miniconda and then using the mamba command instead of the conda command.
These four commands quickly and quietly install the latest 64-bit version of the installer and then clean up after themselves. To install a different version or architecture of Miniconda for Linux, change the name of the .sh installer in the wget command.
Code Block mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm -rf ~/miniconda3/miniconda.sh
initialize miniconda for bash
Code Block ~/miniconda3/bin/conda init bash
- create your a conda env
Code Block conda create -n <NAME> python=3.11 conda activate <NAME> #install some packages conda install numpy scipy matplotlib h5py jupyterlab
...