- Terminal
- Homebrew or an alternate package manager
- To install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- To install Homebrew:
- Python
- You can test this using
python3 --version
– you require a minimum of python3.X - To install python 3.X – we would recommend python 3.10
brew install [email protected]
- You can test this using
- Python Packages: fabric and decorator
- To install:
pip install fabric decorator
- To install:
- SSH
- You can test this using
ssh
– this should output the usage of ssh - To install SSH:
brew install openssh
- You can test this using
- Terminal
- Python
- You can test this using
python3 --version
– you require a minimum of python3.X - To install python 3.X – we would recommend python 3.10 (use different package manager for distributions different from Ubuntu)
sudo apt-get install python3.X
- You can test this using
- Python Packages: fabric and decorator
- To install:
pip install fabric decorator
- To install:
- SSH
- You can test this using
ssh
– this should output the usage of ssh - To install ssh:
sudo apt install openssh-server
- You can test this using
- Windows subsystem for linux 2 (WSL); To install WSL:
- Open PowerShell as administrator
- Run
wsl --install
, by default Ubuntu distribution will be installed - Restart PC
- After restarting, follow the instructions on the automatically opened Ubuntu terminal to setup ubuntu ID and password
- Follow above instructions as given for Linux starting from: 2) Python
* If you are familiar with conda or venv, please feel free to create an environment with the following dependencies: python3.10
, fabric
, decorator
- Download and extract the following zip archive: Link
- Access the folder in your terminal using:
cd JupyterDaskOnSLURM-workshops
- Run:
which should return:
python runJupyterDaskOnSLURM.py
usage: runJupyterDaskOnSLURM.py [-h] [--local_port LOCAL_PORT] [--wait_time WAIT_TIME] (--add_platform | --one_off | --uid UID) [--mode MODE] runJupyterDaskOnSLURM.py: error: one of the arguments --add_platform/-a --one_off/-oo --uid/-u is required