From 118545b55ab098f24761f8b2e8451b808490d890 Mon Sep 17 00:00:00 2001 From: Michael <m.langguth@fz-juelich.de> Date: Mon, 28 Feb 2022 23:47:40 +0100 Subject: [PATCH] Bugfix to enable runnig on JSC's HPC-system again. --- video_prediction_tools/env_setup/create_env.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/video_prediction_tools/env_setup/create_env.sh b/video_prediction_tools/env_setup/create_env.sh index fad6cf51..285fc483 100755 --- a/video_prediction_tools/env_setup/create_env.sh +++ b/video_prediction_tools/env_setup/create_env.sh @@ -57,9 +57,7 @@ if [[ -z "$1" ]]; then return fi -if [[ "$#" -gt 1 ]]; then - check_argin ${@:2} # sets further variables -fi +check_argin ${@:2} # sets further variables # set some variables HOST_NAME="$(hostname)" @@ -115,7 +113,7 @@ fi if [[ "$ENV_EXIST" == 0 ]]; then # Activate virtual environment and install additional Python packages. echo "Configuring and activating virtual environment on ${HOST_NAME}" - + if [[ ${bool_container} == 1 ]]; then if [[ ${bool_hpc} == 1 ]]; then module purge -- GitLab