Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. ssh to an interactive cluster
  2. Code Block
    ssh iana
  3. run the miniconda setup script
  4. (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.
  5. 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
    
    
  6. create your a conda env
  7. Code Block
    conda create -n <NAME> python=3.11
    conda activate <NAME>
    #install some packages
    conda install numpy scipy matplotlib h5py jupyterlab
    
    
    

...