From 2e324ddb70f5e497af87496b2327b4e7f67ff73f Mon Sep 17 00:00:00 2001 From: Michael <m.langguth@fz-juelich.de> Date: Thu, 27 Jan 2022 13:53:47 +0100 Subject: [PATCH] Add module purge to remove Python-related paths when enetring container. --- video_prediction_tools/env_setup/create_env.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video_prediction_tools/env_setup/create_env.sh b/video_prediction_tools/env_setup/create_env.sh index 1dd10626..fdfe3114 100755 --- a/video_prediction_tools/env_setup/create_env.sh +++ b/video_prediction_tools/env_setup/create_env.sh @@ -88,7 +88,8 @@ fi if [[ "$ENV_EXIST" == 0 ]]; then # Activate virtual environment and install additional Python packages. echo "Configuring and activating virtual environment on ${HOST_NAME}" - + + module purge singularity exec --nv "${TF_CONTAINER}" ./install_venv_container.sh "${ENV_DIR}" info_str="Virtual environment ${ENV_DIR} has been set up successfully." -- GitLab