From acac587f6f423e5838542257af7a00f208541cc8 Mon Sep 17 00:00:00 2001 From: patmjen <patmjen@dtu.dk> Date: Thu, 24 Nov 2022 10:08:41 +0100 Subject: [PATCH] Change order of config vars --- HPC_Python_Guide.md | 4 ++-- scripts/init.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HPC_Python_Guide.md b/HPC_Python_Guide.md index 6b5f102..6aabef4 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 f9f00d8..d6e29d2 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 -- GitLab