diff --git a/HPC_Python_Guide.md b/HPC_Python_Guide.md index 6b5f102bf9fa3a092e187654bfc8179d61496db6..6aabef4a9eb84040a66679106a4e3df701a13303 100644 --- a/HPC_Python_Guide.md +++ b/HPC_Python_Guide.md @@ -44,10 +44,10 @@ a100sh > ```bash > # Configuration > # This is what you should change for your setup + > VENV_NAME=venv # Name of your virtualenv (default: venv) + > VENV_DIR=. # Where to store your virtualenv (default: current directory) > PYTHON_VERSION=3.9.14 # Python version (default: 3.9.14) > CUDA_VERSION=11.6 # CUDA version (default: 11.6) - > VENV_DIR=. # Where to store your virtualenv (default: current directory) - > VENV_NAME=venv # Name of your virtualenv (default: venv) > ``` 5. Your are done! You can now install packages with `pip install <PACKAGE>` and run python3 code with `python`. diff --git a/scripts/init.sh b/scripts/init.sh index f9f00d893a7d0fe11896f6636b3753214c079a14..d6e29d238ce34449e3d354575f8fa6e26cc2946c 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -4,10 +4,10 @@ # Configuration # This is what you should change for your setup -PYTHON_VERSION=3.9.14 # Python version -CUDA_VERSION=11.6 # CUDA version -VENV_DIR=. # Where to store your virtualenv -VENV_NAME=venv # Name of your virtualenv +VENV_NAME=venv # Name of your virtualenv (default: venv) +VENV_DIR=. # Where to store your virtualenv (default: current directory) +PYTHON_VERSION=3.9.14 # Python version (default: 3.9.14) +CUDA_VERSION=11.6 # CUDA version (default: 11.6) # Load modules module load python3/$PYTHON_VERSION